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>
...
...
@@ -24,7 +24,6 @@
24
24
To use the large object interface, it is necessary to
25
25
enclose it within a transaction block.
26
26
</para>
27
-
&note.sm.uidcheck;
28
27
<note>
29
28
<para>
30
29
This function used to be called <function>pg_loimport</function>.
...
...
@@ -39,12 +38,7 @@
39
38
<varlistentry>
40
39
<term><parameter>connection</parameter></term>
41
40
<listitem>
42
-
<para>
43
-
PostgreSQL database connection resource. When
44
-
<parameter>connection</parameter> is not present, the default connection
45
-
is used. The default connection is the last connection made by
46
-
<function>pg_connect</function> or <function>pg_pconnect</function>.
47
-
</para>
41
+
&pgsql.parameter.connection-with-unspecified-default;
48
42
</listitem>
49
43
</varlistentry>
50
44
<varlistentry>
...
...
@@ -63,7 +57,7 @@
63
57
If an <parameter>object_id</parameter> is given the function
64
58
will try to create a large object with this id, else a free
65
59
object id is assigned by the server. The parameter
66
-
was added in PHP 5.3 and relies on functionality that first
60
+
relies on functionality that first
67
61
appeared in PostgreSQL 8.1.
68
62
</para>
69
63
</listitem>
...
...
@@ -75,33 +69,25 @@
75
69
<refsect1 role="returnvalues">
76
70
&reftitle.returnvalues;
77
71
<para>
78
-
The <varname>OID</varname> of the newly created large object, or
79
-
&false; on failure.
72
+
The <varname>OID</varname> of the newly created large object, &return.falseforfailure;.
80
73
</para>
81
74
</refsect1>
82
75

83
76
<refsect1 role="changelog">
84
77
&reftitle.changelog;
85
-
<para>
86
-
<informaltable>
87
-
<tgroup cols="2">
88
-
<thead>
89
-
<row>
90
-
<entry>&Version;</entry>
91
-
<entry>&Description;</entry>
92
-
</row>
93
-
</thead>
94
-
<tbody>
95
-
<row>
96
-
<entry>5.3.0</entry>
97
-
<entry><para>
98
-
The optional <parameter>object_id</parameter> was added.
99
-
</para></entry>
100
-
</row>
101
-
</tbody>
102
-
</tgroup>
103
-
</informaltable>
104
-
</para>
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>
105
91
</refsect1>
106
92

107
93
<refsect1 role="examples">
108
94