#37124 [Opn]: PostgreSQL Query Returns Resource id for Field Value

From: Date: Wed, 19 Apr 2006 17:01:48 +0000
Subject: #37124 [Opn]: PostgreSQL Query Returns Resource id for Field Value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96006@lists.php.net to get a copy of this message
ID: 37124 User updated by: ahaig at penguinmilitia dot net Reported By: ahaig at penguinmilitia dot net Status: Open Bug Type: PDO related Operating System: Mac OS X 10.4.6 PHP Version: 5.1.2 Assigned To: wez New Comment: Just tried that. stream_get_line( $row['args'], 100 ) outputs: tables_mainclassname_fkey Previous Comments: ------------------------------------------------------------------------ [2006-04-19 17:00:33] ahaig at penguinmilitia dot net Just tried that. stream_get_line( $row['args'], 100 ) outputs: tables_mainclassname_fkey ------------------------------------------------------------------------ [2006-04-19 14:44:52] wez@php.net Sounds like a LOB type... tried using the streams functions to read it? (the resource is a stream). ------------------------------------------------------------------------ [2006-04-19 09:58:31] tony2001@php.net Assigned to the maintainer. ------------------------------------------------------------------------ [2006-04-18 18:10:56] ahaig at penguinmilitia dot net pg_trigger.tgargs is a built in column in template1... Looks like it's a bytea type. (\d pg_trigger) ------------------------------------------------------------------------ [2006-04-18 18:07:37] helly@php.net What is the postgres data type you return here? ------------------------------------------------------------------------ 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/37124 -- Edit this bug report at http://bugs.php.net/?id=37124&edit=1

« previous php.bugs (#96006) next »