From: Yasuo Ohgaki Date: Thu, 20 Feb 2014 01:44:18 +0000 (+0900) Subject: Update pgsql document X-Git-Tag: php-5.6.0alpha3~1^2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fa164c24b98090800c290b98f662923c3bfbdcc;p=php Update pgsql document --- diff --git a/UPGRADING b/UPGRADING index 906261e619..f90be01ca1 100755 --- a/UPGRADING +++ b/UPGRADING @@ -162,7 +162,11 @@ PHP X.Y UPGRADE NOTES - Pgsql: - pg_insert()/pg_select()/pg_update()/pg_delete()/pg_meta_data()/pg_convert() are no longer EXPERIMENTAL - - pg_select() return PostgreSQL query resources when query is executed. + - Added PGSQL_DML_ESCAPE option for pg_insert()/pg_select()/pg_update()/pg_delete() + that simply escapes all supplied parameters. These functions can be as fast as + native query. Unvalidated data(Unknown data types) is passed as string. + JSON/Array/etc are supported both PGSQL_DML_ESCAPE and pg_convert() as string. + - pg_select() returns PostgreSQL query resource when query is executed. - Added extended flag parameter for pg_meta_data(). pg_meta_data() always returns "is enum" attribute.