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

From Adam Lang
Subject Re: [INTERFACES] PHP and PostgreSQL
Date
Msg-id 00df01c0704c$466f5260$330a0a0a@6014cwpza006
Whole thread Raw
In response to PHP and PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Jean-Louis Leroy
Date:
Subject: Possible SELECT bug in 7.0.2
Next
From: "Andrew Snow"
Date:
Subject: RE: GEQO status?