note 65697 added to function.pg-insert
| From: | ANDYCHR17 at HOTMAIL dot COM | Date: | Fri, 05 May 2006 21:50:45 +0000 |
| Subject: | note 65697 added to function.pg-insert | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110666@lists.php.net to get a copy of this message | ||
Had a few issues while trying to run this in PHP 4.4.0:
- I could not get it to work with column names that are SQL reserved words (example: desc, order). I
was forced to change the column names in order to use the function. I could not put the column names
in quotes, because that caused pg_convert() to fail.
- Function was returning false until I passed the PGSQL_DML_EXEC option.
----
Server IP: 64.71.164.2
Probable Submitter: 68.67.222.193
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.pg-insert.php
Edit -- http://master.php.net/note/edit/65697
Del: integrated -- http://master.php.net/note/delete/65697/integrated
Del: useless -- http://master.php.net/note/delete/65697/useless
Del: bad code -- http://master.php.net/note/delete/65697/bad+code
Del: spam -- http://master.php.net/note/delete/65697/spam
Del: non-english -- http://master.php.net/note/delete/65697/non-english
Del: in docs -- http://master.php.net/note/delete/65697/in+docs
Del: other reasons-- http://master.php.net/note/delete/65697
Reject -- http://master.php.net/note/reject/65697
Search -- http://master.php.net/manage/user-notes.php