diff --git a/reference/pgsql/functions/pg-delete.xml b/reference/pgsql/functions/pg-delete.xml index 84e1e8b1e3..6d6ee6731b 100644 --- a/reference/pgsql/functions/pg-delete.xml +++ b/reference/pgsql/functions/pg-delete.xml @@ -110,7 +110,7 @@ // This is safe somewhat, since all values are escaped. // However PostgreSQL supports JSON/Array. These are not // safe by neither escape nor prepared query. - $res = pg_insert($dbconn, 'post_log', $_POST, PG_DML_ESCAPE); + $res = pg_insert($db, 'post_log', $_POST, PG_DML_ESCAPE); if ($res) { echo "POST data is deleted: $res\n"; } else { @@ -123,38 +123,6 @@ - - &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 5.6.0 - - No longer experimental. Added PGSQL_DML_ESCAPE constant, - &true;/&false; and &null; data type support. - - - - 5.5.3/5.4.19 - - Direct SQL injection to table_name and Indirect SQL - injection to identifiers are fixed. - - - - - - - - &reftitle.seealso;