reference/pgsql/functions/pg-socket.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -12,8 +12,8 @@
12
12
<refsect1 role="description">
13
13
&reftitle.description;
14
14
<methodsynopsis>
15
-
<type>resource</type><methodname>pg_socket</methodname>
16
-
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
15
+
<type class="union"><type>resource</type><type>false</type></type><methodname>pg_socket</methodname>
16
+
<methodparam><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
<function>pg_socket</function> returns a read only <type>resource</type>
...
...
@@ -30,9 +30,7 @@
30
30
<varlistentry>
31
31
<term><parameter>connection</parameter></term>
32
32
<listitem>
33
-
<para>
34
-
PostgreSQL database connection resource.
35
-
</para>
33
+
&pgsql.parameter.connection;
36
34
</listitem>
37
35
</varlistentry>
38
36
</variablelist>
...
...
@@ -44,6 +42,24 @@
44
42
A socket resource on success&return.falseforfailure;.
45
43
</para>
46
44
</refsect1>
45
+

46
+
<refsect1 role="changelog">
47
+
&reftitle.changelog;
48
+
<informaltable>
49
+
<tgroup cols="2">
50
+
<thead>
51
+
<row>
52
+
<entry>&Version;</entry>
53
+
<entry>&Description;</entry>
54
+
</row>
55
+
</thead>
56
+
<tbody>
57
+
&pgsql.changelog.connection-object;
58
+
</tbody>
59
+
</tgroup>
60
+
</informaltable>
61
+
</refsect1>
62
+
47
63
</refentry>
48
64

49
65
<!-- Keep this comment at the end of the file
50
66