Re: [INTERFACES] PHP and PostgreSQL

Поиск
Список
Период
Сортировка
От Frank Joerdens
Тема Re: [INTERFACES] PHP and PostgreSQL
Дата
Msg-id 3A4A6BA0.53728430@joerdens.de
обсуждение исходный текст
Ответ на PHP and PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: configure in snapshout == configure.in
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: About PQsetClientEncoding(),"SET NAMES",and "SET CLIENT_ENCODING"