#36750 [WFx->Asn]: pg_field_table does not exists
ID: 36750
Updated by: edink@php.net
Reported By: fabrizio dot balliano at crealabs dot it
-Status: Wont fix
+Status: Assigned
-Bug Type: PostgreSQL related
+Bug Type: Feature/Change Request
Operating System: irrelevant
PHP Version: 4.4.2
-Assigned To:
+Assigned To: edink
New Comment:
OK. I'll look into it.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2006-03-15 21:41:16] fabrizio dot balliano at crealabs dot it
Description:
------------
function pg_field_table is not implemented but I think it's important,
it's present for other db, such as mysql
(http://php.net/mysql_field_table)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36750&edit=1
Thread (7 messages)