[PATCH] pg_escape_literal/pg_escape_identifier for pgsql
| From: | Yasuo Ohgaki | Date: | Fri, 20 May 2011 01:24:30 +0000 |
| Subject: | [PATCH] pg_escape_literal/pg_escape_identifier for pgsql | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-52468@lists.php.net to get a copy of this message | ||
Hi all
Current PostgreSQL has new escape functions for literals and identifiers.
Since there is no function for that, I made patch for that. Attached patch is
for trunk and tested with PostgreSQL 8.4 and 9.0.
This patch would also applied to 5.4 branch but how about 5.3?
It's pain not to have escape functions.
Any comments?
--
Yasuo Ohgaki
yohgaki@ohgaki.net
Attachment: [text/x-patch] pgsql-escape-literal.patch
Attachment: [text/x-patch] pgsql-escape-literal.patch