On https://www.enterprisedb.com/downloads/postgres-postgresql-downloads :
PostgreSQL runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, macOS, Solaris), and Windows. It offers the following programming languages: PL/pgSQL, PL/SQL, Java, Python, Ruby, C/C+, PHP, Perl, Tcl, Scheme. Postgres also offers the following Library interfaces: OCI, libpq, JDBC, ODBC, .NET, Perl, Python, Ruby, C/C+, PHP, Lisp, Scheme, and Qt.
I use PHP and PostgreSQL. I send and receive data with the PHP extension pg_*
, which uses/is libpq. I've done this for like two decades.
What do they mean that PostgreSQL "offers" PHP, before it lists the "library interfaces"? And in that list of "library interfaces", it confusingly again lists PHP...
Am I missing something fundamental? Does PostgreSQL allow me to mix PHP syntax into SQL queries or something crazy like that?