#36750 [Csd]: pg_field_table does not exists
| From: | derick@php.net | Date: | Thu, 16 Mar 2006 15:19:02 +0000 |
| Subject: | #36750 [Csd]: pg_field_table does not exists | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94429@lists.php.net to get a copy of this message | ||
ID: 36750
Updated by: derick@php.net
Reported By: fabrizio dot balliano at crealabs dot it
Status: Closed
Bug Type: Feature/Change Request
Operating System: irrelevant
PHP Version: 4.4.2
Assigned To: edink
New Comment:
No, we won't add new features to PHP 4.4
Previous Comments:
------------------------------------------------------------------------
[2006-03-16 16:01:01] fabrizio dot balliano at crealabs dot it
thank you very much,
no hope for 4.4.x?
------------------------------------------------------------------------
[2006-03-16 15:59:52] edink@php.net
pg_field_table() has been added. It will appear in php-6.0.0 and
perhaps 5.1.4.
------------------------------------------------------------------------
[2006-03-16 12:36:35] edink@php.net
OK. I'll look into it.
------------------------------------------------------------------------
[2006-03-16 09:30:17] lsmith@php.net
Looking at the libpg docs:
http://www.postgresql.org/docs/8.1/interactive/libpq-exec.html#LIBPQ-EXEC-SELECT-INFO
PQftable
Returns the OID of the table from which the given column was fetched.
Column numbers start at 0.
Oid PQftable(const PGresult *res, int column_number);
InvalidOid is returned if the column number is out of range, or if the
specified column is not a simple reference to a table column, or when
using pre-3.0 protocol. You can query the system table pg_class to
determine exactly which table is referenced.
The type Oid and the constant InvalidOid will be defined when you
include the libpq header file. They will both be some integer type.
------------------------------------------------------------------------
[2006-03-15 23:53:16] edink@php.net
The PostgreSQL API does not support this functionality.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36750
--
Edit this bug report at http://bugs.php.net/?id=36750&edit=1