New PHP/PostgreSQL functions
New PHP/PostgreSQL functions
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
Hey guys,
Check this out:
http://www.php.net/manual/en/ref.pgsql.php
Note all v3 protocol functions are in for PHP 5.1, like
. pg_transaction_status() - in-transaction status of a database
connection.
. pg_query_params() - execution of parameterized queries.
. pg_prepare() - prepare named queries.
. pg_execute() - execution of named prepared queries.
. pg_send_query_params() - async equivalent of pg_query_params().
. pg_send_prepare() - async equivalent of pg_prepare().
. pg_send_execute() - async equivalent of pg_execute().
. pg_result_error_field() - highly detailed error information,
most importantly the SQLSTATE error code.
. pg_set_error_verbosity() - set verbosity of errors.
Cheers,
Chris
Re: New PHP/PostgreSQL functions
От:
Postgres Admin <postgres@productivitymedia.com>
Дата:
That is great for us users of PostgreSQL... but when is 5.1 release date?
Re: New PHP/PostgreSQL functions
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
> That is great for us users of PostgreSQL... but when is 5.1 release date? No idea whatsoever :) Chris
Re: New PHP/PostgreSQL functions
От:
Martín Marqués <martin@bugs.unl.edu.ar>
Дата:
El Sáb 26 Mar 2005 15:11, Christopher Kings-Lynne escribió:
> Hey guys,
>
> Check this out:
>
> http://www.php.net/manual/en/ref.pgsql.php
>
> Note all v3 protocol functions are in for PHP 5.1, like
What about PHP 4.x? Will there be any backporting?
--
09:08:52 up 9 days, 13:39, 1 user, load average: 0.72, 0.55, 0.82
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------
Re: New PHP/PostgreSQL functions
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
>>Hey guys, >> >>Check this out: >> >>http://www.php.net/manual/en/ref.pgsql.php >> >>Note all v3 protocol functions are in for PHP 5.1, like > > > What about PHP 4.x? Will there be any backporting? No...
Re: New PHP/PostgreSQL functions
От:
Robert Treat <xzilla@users.sourceforge.net>
Дата:
On Saturday 26 March 2005 13:11, Christopher Kings-Lynne wrote:
> Hey guys,
>
> Check this out:
>
> http://www.php.net/manual/en/ref.pgsql.php
>
> Note all v3 protocol functions are in for PHP 5.1, like
>
> . pg_transaction_status() - in-transaction status of a database
> connection.
> . pg_query_params() - execution of parameterized queries.
> . pg_prepare() - prepare named queries.
> . pg_execute() - execution of named prepared queries.
> . pg_send_query_params() - async equivalent of pg_query_params().
> . pg_send_prepare() - async equivalent of pg_prepare().
> . pg_send_execute() - async equivalent of pg_execute().
> . pg_result_error_field() - highly detailed error information,
> most importantly the SQLSTATE error code.
> . pg_set_error_verbosity() - set verbosity of errors.
>
Thanks much for your work on this Chris. One thing I was wondering is if you
changed any of the existing functions due to differences in the v3 protocol?
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
Re: New PHP/PostgreSQL functions
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
> Thanks much for your work on this Chris. One thing I was wondering is if you > changed any of the existing functions due to differences in the v3 protocol? So far I've changed pg_copy_to and pg_copy_from to use the new v3 functions if they exist. I've still got lots more to do though. I'm working on pdo_pgsql atm. Chris