pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
New PHP/PostgreSQL functions
7+ messages / 4 participants
[nested] [flat]

* New PHP/PostgreSQL functions
@ 2005-03-26 18:11 Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2005-03-26 20:12 ` Re: New PHP/PostgreSQL functions Postgres Admin <postgres@productivitymedia.com>
  2005-03-28 12:09 ` Re: New PHP/PostgreSQL functions Martín Marqués <martin@bugs.unl.edu.ar>
  2005-03-29 02:19 ` Re: New PHP/PostgreSQL functions Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 3 replies; 7+ messages in thread

From: Christopher Kings-Lynne @ 2005-03-26 18:11 UTC (permalink / raw)
  To: pgsql-php

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PostgreSQL functions
  2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
@ 2005-03-26 20:12 ` Postgres Admin <postgres@productivitymedia.com>
  2005-03-27 03:18   ` Re: New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2 siblings, 1 reply; 7+ messages in thread

From: Postgres Admin @ 2005-03-26 20:12 UTC (permalink / raw)
  To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>; +Cc: pgsql-php

That is great for us users of PostgreSQL... but when is 5.1 release date?



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PostgreSQL functions
  2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2005-03-26 20:12 ` Re: New PHP/PostgreSQL functions Postgres Admin <postgres@productivitymedia.com>
@ 2005-03-27 03:18   ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  0 siblings, 0 replies; 7+ messages in thread

From: Christopher Kings-Lynne @ 2005-03-27 03:18 UTC (permalink / raw)
  To: Postgres Admin <postgres@productivitymedia.com>; +Cc: pgsql-php

> That is great for us users of PostgreSQL... but when is 5.1 release date?

No idea whatsoever :)

Chris



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PostgreSQL functions
  2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
@ 2005-03-28 12:09 ` Martín Marqués <martin@bugs.unl.edu.ar>
  2005-03-28 14:03   ` Re: New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2 siblings, 1 reply; 7+ messages in thread

From: Martín Marqués @ 2005-03-28 12:09 UTC (permalink / raw)
  To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>; +Cc: pgsql-php

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
-----------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PostgreSQL functions
  2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2005-03-28 12:09 ` Re: New PHP/PostgreSQL functions Martín Marqués <martin@bugs.unl.edu.ar>
@ 2005-03-28 14:03   ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  0 siblings, 0 replies; 7+ messages in thread

From: Christopher Kings-Lynne @ 2005-03-28 14:03 UTC (permalink / raw)
  To: Martín Marqués <martin@bugs.unl.edu.ar>; +Cc: pgsql-php

>>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...



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PostgreSQL functions
  2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
@ 2005-03-29 02:19 ` Robert Treat <xzilla@users.sourceforge.net>
  2005-03-29 03:26   ` Re: New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2 siblings, 1 reply; 7+ messages in thread

From: Robert Treat @ 2005-03-29 02:19 UTC (permalink / raw)
  To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>; +Cc: pgsql-php

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PostgreSQL functions
  2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2005-03-29 02:19 ` Re: New PHP/PostgreSQL functions Robert Treat <xzilla@users.sourceforge.net>
@ 2005-03-29 03:26   ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  0 siblings, 0 replies; 7+ messages in thread

From: Christopher Kings-Lynne @ 2005-03-29 03:26 UTC (permalink / raw)
  To: Robert Treat <xzilla@users.sourceforge.net>; +Cc: pgsql-php

> 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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2005-03-29 03:26 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-26 18:11 New PHP/PostgreSQL functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
2005-03-26 20:12 ` Postgres Admin <postgres@productivitymedia.com>
2005-03-27 03:18   ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
2005-03-28 12:09 ` Martín Marqués <martin@bugs.unl.edu.ar>
2005-03-28 14:03   ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
2005-03-29 02:19 ` Robert Treat <xzilla@users.sourceforge.net>
2005-03-29 03:26   ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox