note 92469 added to function.pg-convert
| From: | jasperhorn at gmail dot com | Date: | Sun, 26 Jul 2009 04:23:39 +0000 |
| Subject: | note 92469 added to function.pg-convert | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158728@lists.php.net to get a copy of this message | ||
Andrew, you claim that the postgreSQL states you can do it that way. That claim is false.
It says the string 'true' can be used - which is not the string 'TRUE' - and
that the keyword TRUE (no quotes) can be used - which is not the string 'TRUE' either.
To illustrate the difference between the keyword and the string:
SET field = 'TRUE' // string, thus invalid
SET field = TRUE // keyword, thus valid
It is to be noted that this function does not support the keyword and as such, you will have to use
a string representation, which the capital version is not.
----
Server IP: 91.199.167.18
Probable Submitter: 83.83.249.94
----
Manual Page -- http://www.php.net/manual/en/function.pg-convert.php
Edit -- https://master.php.net/note/edit/92469
Del: integrated -- https://master.php.net/note/delete/92469/integrated
Del: useless -- https://master.php.net/note/delete/92469/useless
Del: bad code -- https://master.php.net/note/delete/92469/bad+code
Del: spam -- https://master.php.net/note/delete/92469/spam
Del: non-english -- https://master.php.net/note/delete/92469/non-english
Del: in docs -- https://master.php.net/note/delete/92469/in+docs
Del: other reasons-- https://master.php.net/note/delete/92469
Reject -- https://master.php.net/note/reject/92469
Search -- https://master.php.net/manage/user-notes.php