Re: PHP and PostgreSQL
Adam Lang <aalang@rutgersinsurance.com>
From: "Adam Lang" <aalang@rutgersinsurance.com>
To:
Cc: "PostgreSQL-development" <pgsql-hackers@postgresql.org>, "PostgreSQL-interfaces" <pgsql-interfaces@postgresql.org>
Date: 2000-12-27T21:30:46Z
Lists: pgsql-hackers
I agree, but I figured that if the 7.1 upgrade breaks some of the large object interface in the ODBC code, it may possibly break some of the interface in the php-psql code. That's why I said it should probably be checked. ;) Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Frank Joerdens" <frank@joerdens.de> To: "Adam Lang" <aalang@rutgersinsurance.com> Cc: "PostgreSQL-development" <pgsql-hackers@postgresql.org>; "PostgreSQL-interfaces" <pgsql-interfaces@postgresql.org> Sent: Wednesday, December 27, 2000 5:22 PM Subject: Re: [INTERFACES] PHP and PostgreSQL > Adam Lang wrote: > > > > I thought I saw mention on the interfaces list that the ODBC driver needed > > to be modified to properly use the large objects. > > You normally wouldn't use ODBC to access Postgres from PHP but rather > the Postgres-specific interface. You _can_ use ODBC as well but normally > that doesn't provide any advantage. If your concern is database > abstraction, there are several libraries for PHP that provide it in > varying degrees, ODBC would be just one, possibly not optimal, solution > for the problem. Generally, from following the PHP lists and looking at > columns on, for instance, phpbuilder.com, PHP folks don't seem to > concerned with the abstraction issue, as far as I can make out anyway > (just my impression). Rasmus' question, IMHO, was about the PHP/Postgres > interface, not about ODBC. > > - Frank