Re: DB::prepare/execute and PostgreSQL

From: Date: Sun, 01 Feb 2004 18:58:53 +0000
Subject: Re: DB::prepare/execute and PostgreSQL
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10474@lists.php.net to get a copy of this message
Mensaje citado por Culley Harrelson <culley@fastmail.fm>: > Looking through DB/pgsql.php is seems that PEAR:DB is emulating > prepare/execute statements for postgresql. Postgresql does support > prepared statements: > > http://www.postgresql.org/docs/7.4/interactive/sql-prepare.html > http://www.postgresql.org/docs/7.4/interactive/sql-execute.html > > Are there technical reasons why this hasn't been included in PEAR:DB or > has it just not been implemented yet? It has nothing to do with PEAR::DB. The problem is that the PHP pgsql extension doesn't have prepare/execute yet, although it could be emulated in PEAR::DB, the best thing would be to have it built into the pgsql extension. -- select 'mmarques' || '@' || 'unl.edu.ar' AS email; ------------------------------------------------------- Martín Marqués | Programador, DBA Centro de Telemática | Administrador Universidad Nacional del Litoral -------------------------------------------------------

« previous php.pear.general (#10474) next »