Обсуждение: Re: Support for prepared queries

Поиск
Список
Период
Сортировка

Re: Support for prepared queries

От
ljb
Дата:
jleelim@xxxxxx.com wrote:
> Hi,
>
> Does anyone know if PHP supports prepared queries for PostgreSQL 7.3.x ? If
> not, when will prepared queries be supported?

Yes, in the sense that you can send PREPARE and EXECUTE statements to the
server using PHP's pg_query(). They work like any other SQL statements; PHP
doesn't do anything special for them.  If you're asking about the
low-level prepared query protocol used by libpq's PQexecPrepared(), that
doesn't exist until PostgreSQL-7.4, so the answer is no.