Thread: New PHP/PostgreSQL functions
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
That is great for us users of PostgreSQL... but when is 5.1 release date?
> That is great for us users of PostgreSQL... but when is 5.1 release date? No idea whatsoever :) Chris
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 -----------------------------------------------------------------
>>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...
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
> 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