php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16462 PQcmdStatus in PosgreSQL
Submitted: 2002-04-06 12:01 UTC Modified: 2002-04-07 20:44 UTC
From: stach at toya dot net dot pl Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.1.2 OS: Linux/Debian
Private report: No CVE-ID: None
 [2002-04-06 12:01 UTC] stach at toya dot net dot pl
Is there any hope that an equivalent of PostgreSQL libpq PQcmdStatus function be introduced into PHP?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-06 19:07 UTC] yohgaki@php.net
It's alrady implemented, including many more new useful functions. Will be incluced next release (PHP4.2.0)

 [2002-04-07 07:19 UTC] stach at toya dot net dot pl
And what is the name of the new php function calling PQcmdStatus? I have downloaded the source code of the new release and have found no single reference to PQcmdStatus.
 [2002-04-07 19:34 UTC] yohgaki@php.net
New functions are docuemnted already :)
 [2002-04-07 20:44 UTC] yohgaki@php.net
Since pg_result_status returns long constant for result status, we don't need return value from PQcmdStatus which returns name of last SQL command successfuly executed.

However, it could be useful, so I added addtional parameter to pg_result_status to CVS. Document may be updated later.
It will be available in PHP 4.3.0
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 05:00:01 2026 UTC