com doc/ja: really remove PHP 5 changelog: reference/pgsql/functions/pg-delete.xml
| From: | Yoshinari Takaoka | Date: | Tue, 02 Feb 2021 12:39:07 +0000 |
| Subject: | com doc/ja: really remove PHP 5 changelog: reference/pgsql/functions/pg-delete.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6146@lists.php.net to get a copy of this message | ||
Commit: 3faf190dae115742ca52c8bef759b888d084b412
Author: Yoshinari Takaoka <mumumu@mumumu.org> Tue, 2 Feb 2021 21:39:07 +0900
Parents: 3d9ac989a3ff1f01291d719b03a1879cc2802bca
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=3faf190dae115742ca52c8bef759b888d084b412
Log:
really remove PHP 5 changelog
Changed paths:
M reference/pgsql/functions/pg-delete.xml
Diff:
diff --git a/reference/pgsql/functions/pg-delete.xml b/reference/pgsql/functions/pg-delete.xml
index 90f23e5807..22096190fa 100644
--- a/reference/pgsql/functions/pg-delete.xml
+++ b/reference/pgsql/functions/pg-delete.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: fc54f9a81a21f0bb086cc07606ffcd0fd3c79f56 Maintainer: hirokawa Status: ready
-->
+<!-- EN-Revision: 04c08d22389ba99f9327e136c656e27c4e363e73 Maintainer: hirokawa Status: ready
-->
<!-- CREDITS: takagi,mumumu -->
<refentry xml:id='function.pg-delete' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -114,7 +114,7 @@
//
これは少しだけ安全です。なぜなら、全ての値がエスケープされるからです。
// しかし、PostgreSQL は JSON/Array をサポートしています。これらの型に
//
ついてはエスケープされたクエリや、プリペアドクエリでも安全ではありません。
- $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 {
@@ -127,37 +127,6 @@
</para>
</refsect1>
- <refsect1 role="changelog">
- &reftitle.changelog;
- <para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>5.6.0</entry>
- <entry>
- 実験的な関数ではなくなりました。定数
<constant>PGSQL_DML_ESCAPE</constant> が追加されました。
- &true;/&false; や &null; をサポートするようになりました。
- </entry>
- </row>
- <row>
- <entry>5.5.3/5.4.19</entry>
- <entry>
- <parameter>table_name</parameter> に対する SQL
インジェクション、そして識別子に対する間接的な SQL
インジェクションの問題を修正しました。
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </refsect1>
-
<refsect1 role="seealso">
&reftitle.seealso;
<para>