#40808 [Opn->Asn]: pg_insert problem

From: Date: Wed, 14 Mar 2007 20:29:45 +0000
Subject: #40808 [Opn->Asn]: pg_insert problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110352@lists.php.net to get a copy of this message
ID: 40808 Updated by: tony2001@php.net Reported By: pentropia at gmail dot com -Status: Open +Status: Assigned Bug Type: PostgreSQL related Operating System: Win32 PHP Version: 5.2.1 -Assigned To: +Assigned To: yohgaki Previous Comments: ------------------------------------------------------------------------ [2007-03-14 20:21:38] pentropia at gmail dot com Description: ------------ Im referencing you to this bug: http://bugs.php.net/bug.php?id=24679 Obviously he forgot to put the status back to 'open'. pg_insert throws a couple of errors when you try to reference a table within i schema. This is because the query isn't composed the right way. Reproduce code: --------------- sql CREATE SCHEMA foo; CREATE TABLE foo.bar ( id int ); php pg_insert( $sqlres , "foo.bar" , array( "id" => 5 ) ); Expected result: ---------------- Expected new row to be added to table 'foo' within schema 'bar'. Actual result: -------------- Do not have the error atm. Could be brought up if requested. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40808&edit=1

« previous php.bugs (#110352) next »