reference/pgsql/functions/pg-escape-bytea.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -13,7 +13,7 @@
13
13
&reftitle.description;
14
14
<methodsynopsis>
15
15
<type>string</type><methodname>pg_escape_bytea</methodname>
16
-
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
16
+
<methodparam choice="opt"><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
17
17
<methodparam><type>string</type><parameter>data</parameter></methodparam>
18
18
</methodsynopsis>
19
19
<para>
...
...
@@ -45,12 +45,7 @@
45
45
<varlistentry>
46
46
<term><parameter>connection</parameter></term>
47
47
<listitem>
48
-
<para>
49
-
PostgreSQL database connection resource. When
50
-
<parameter>connection</parameter> is not present, the default connection
51
-
is used. The default connection is the last connection made by
52
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
53
-
</para>
48
+
&pgsql.parameter.connection-with-unspecified-default;
54
49
</listitem>
55
50
</varlistentry>
56
51
<varlistentry>
...
...
@@ -75,24 +70,19 @@
75
70

76
71
<refsect1 role="changelog">
77
72
&reftitle.changelog;
78
-
<para>
79
-
<informaltable>
80
-
<tgroup cols="2">
81
-
<thead>
82
-
<row>
83
-
<entry>&Version;</entry>
84
-
<entry>&Description;</entry>
85
-
</row>
86
-
</thead>
87
-
<tbody>
88
-
<row>
89
-
<entry>5.2.0</entry>
90
-
<entry><parameter>connection</parameter> added</entry>
91
-
</row>
92
-
</tbody>
93
-
</tgroup>
94
-
</informaltable>
95
-
</para>
73
+
<informaltable>
74
+
<tgroup cols="2">
75
+
<thead>
76
+
<row>
77
+
<entry>&Version;</entry>
78
+
<entry>&Description;</entry>
79
+
</row>
80
+
</thead>
81
+
<tbody>
82
+
&pgsql.changelog.connection-object;
83
+
</tbody>
84
+
</tgroup>
85
+
</informaltable>
96
86
</refsect1>
97
87

98
88
<refsect1 role="examples">
99
89