reference/pgsql/functions/pg-lo-import.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -11,7 +11,7 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>int</type><methodname>pg_lo_import</methodname>
14
-
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
14
+
<methodparam choice="opt"><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
15
15
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
16
16
<methodparam choice="opt"><type>mixed</type><parameter>object_id</parameter></methodparam>
17
17
</methodsynopsis>
...
...
@@ -38,12 +38,7 @@
38
38
<varlistentry>
39
39
<term><parameter>connection</parameter></term>
40
40
<listitem>
41
-
<para>
42
-
PostgreSQL database connection resource. When
43
-
<parameter>connection</parameter> is not present, the default connection
44
-
is used. The default connection is the last connection made by
45
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
46
-
</para>
41
+
&pgsql.parameter.connection-with-unspecified-default;
47
42
</listitem>
48
43
</varlistentry>
49
44
<varlistentry>
...
...
@@ -62,7 +57,7 @@
62
57
If an <parameter>object_id</parameter> is given the function
63
58
will try to create a large object with this id, else a free
64
59
object id is assigned by the server. The parameter
65
-
was added in PHP 5.3 and relies on functionality that first
60
+
relies on functionality that first
66
61
appeared in PostgreSQL 8.1.
67
62
</para>
68
63
</listitem>
...
...
@@ -74,11 +69,27 @@
74
69
<refsect1 role="returnvalues">
75
70
&reftitle.returnvalues;
76
71
<para>
77
-
The <varname>OID</varname> of the newly created large object, or
78
-
&false; on failure.
72
+
The <varname>OID</varname> of the newly created large object, &return.falseforfailure;.
79
73
</para>
80
74
</refsect1>
81
75

76
+
<refsect1 role="changelog">
77
+
&reftitle.changelog;
78
+
<informaltable>
79
+
<tgroup cols="2">
80
+
<thead>
81
+
<row>
82
+
<entry>&Version;</entry>
83
+
<entry>&Description;</entry>
84
+
</row>
85
+
</thead>
86
+
<tbody>
87
+
&pgsql.changelog.connection-object;
88
+
</tbody>
89
+
</tgroup>
90
+
</informaltable>
91
+
</refsect1>
92
+

82
93
<refsect1 role="examples">
83
94
&reftitle.examples;
84
95
<para>
85
96