reference/pgsql/functions/pg-untrace.xml
2ca090342977839edca2f7f4e52305a1b5da6095
...
...
@@ -10,8 +10,8 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>bool</type><methodname>pg_untrace</methodname>
14
-
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
13
+
<type>true</type><methodname>pg_untrace</methodname>
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
Stop tracing started by <function>pg_trace</function>.
...
...
@@ -25,12 +25,7 @@
25
25
<varlistentry>
26
26
<term><parameter>connection</parameter></term>
27
27
<listitem>
28
-
<para>
29
-
PostgreSQL database connection resource. When
30
-
<parameter>connection</parameter> is not present, the default connection
31
-
is used. The default connection is the last connection made by
32
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
33
-
</para>
28
+
&pgsql.parameter.connection-with-nullable-default;
34
29
</listitem>
35
30
</varlistentry>
36
31
</variablelist>
...
...
@@ -40,10 +35,34 @@
40
35
<refsect1 role="returnvalues">
41
36
&reftitle.returnvalues;
42
37
<para>
43
-
Always returns &true;.
38
+
&return.true.always;
44
39
</para>
45
40
</refsect1>
46
41

42
+
<refsect1 role="changelog">
43
+
&reftitle.changelog;
44
+
<informaltable>
45
+
<tgroup cols="2">
46
+
<thead>
47
+
<row>
48
+
<entry>&Version;</entry>
49
+
<entry>&Description;</entry>
50
+
</row>
51
+
</thead>
52
+
<tbody>
53
+
&return.type.true;
54
+
&pgsql.changelog.connection-object;
55
+
<row>
56
+
<entry>8.0.0</entry>
57
+
<entry>
58
+
<parameter>connection</parameter> is now nullable.
59
+
</entry>
60
+
</row>
61
+
</tbody>
62
+
</tgroup>
63
+
</informaltable>
64
+
</refsect1>
65
+
47
66
<refsect1 role="examples">
48
67
&reftitle.examples;
49
68
<para>
...
...
@@ -79,7 +98,6 @@ if ($pgsql_conn) {
79
98
</para>
80
99
</refsect1>
81
100
</refentry>
82
-

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