Re: [INTERFACES] PHP and PostgreSQL - Mailing list pgsql-hackers

From Frank Joerdens
Subject Re: [INTERFACES] PHP and PostgreSQL
Date
Msg-id 3A4A6BA0.53728430@joerdens.de
Whole thread Raw
In response to PHP and PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: configure in snapshout == configure.in
Next
From: Tatsuo Ishii
Date:
Subject: Re: About PQsetClientEncoding(),"SET NAMES",and "SET CLIENT_ENCODING"