reference/pgsql/functions/pg-end-copy.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -11,7 +11,7 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>pg_end_copy</methodname>
14
-
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>PgSql\Connection</type><type>null</type></type><parameter>connection</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
<function>pg_end_copy</function> syncs the PostgreSQL frontend
...
...
@@ -30,12 +30,7 @@
30
30
<varlistentry>
31
31
<term><parameter>connection</parameter></term>
32
32
<listitem>
33
-
<para>
34
-
PostgreSQL database connection resource. When
35
-
<parameter>connection</parameter> is not present, the default connection
36
-
is used. The default connection is the last connection made by
37
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
38
-
</para>
33
+
&pgsql.parameter.connection-with-nullable-default;
39
34
</listitem>
40
35
</varlistentry>
41
36
</variablelist>
...
...
@@ -49,6 +44,29 @@
49
44
</para>
50
45
</refsect1>
51
46

47
+
<refsect1 role="changelog">
48
+
&reftitle.changelog;
49
+
<informaltable>
50
+
<tgroup cols="2">
51
+
<thead>
52
+
<row>
53
+
<entry>&Version;</entry>
54
+
<entry>&Description;</entry>
55
+
</row>
56
+
</thead>
57
+
<tbody>
58
+
&pgsql.changelog.connection-object;
59
+
<row>
60
+
<entry>8.0.0</entry>
61
+
<entry>
62
+
<parameter>connection</parameter> is now nullable.
63
+
</entry>
64
+
</row>
65
+
</tbody>
66
+
</tgroup>
67
+
</informaltable>
68
+
</refsect1>
69
+

52
70
<refsect1 role="examples">
53
71
&reftitle.examples;
54
72
<para>
...
...
@@ -80,7 +98,6 @@
80
98
</para>
81
99
</refsect1>
82
100
</refentry>
83
-

84
101
<!-- Keep this comment at the end of the file
85
102
Local variables:
86
103
mode: sgml
87
104