ID: 36750 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] OK. I'll look into it. ------------------------------------------------------------------------ [2006-03-16 09:30:17] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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