reference/pgsql/functions/pg-field-size.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -13,8 +13,8 @@
13
13
&reftitle.description;
14
14
<methodsynopsis>
15
15
<type>int</type><methodname>pg_field_size</methodname>
16
-
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
17
-
<methodparam><type>int</type><parameter>field_number</parameter></methodparam>
16
+
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
17
+
<methodparam><type>int</type><parameter>field</parameter></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
<function>pg_field_size</function> returns the internal storage
...
...
@@ -35,15 +35,11 @@
35
35
<varlistentry>
36
36
<term><parameter>result</parameter></term>
37
37
<listitem>
38
-
<para>
39
-
PostgreSQL query result resource, returned by <function>pg_query</function>,
40
-
<function>pg_query_params</function> or <function>pg_execute</function>
41
-
(among others).
42
-
</para>
38
+
&pgsql.parameter.result;
43
39
</listitem>
44
40
</varlistentry>
45
41
<varlistentry>
46
-
<term><parameter>field_number</parameter></term>
42
+
<term><parameter>field</parameter></term>
47
43
<listitem>
48
44
<para>
49
45
Field number, starting from 0.
...
...
@@ -58,10 +54,27 @@
58
54
&reftitle.returnvalues;
59
55
<para>
60
56
The internal field storage size (in bytes). -1 indicates a variable
61
-
length field. &false; is returned on error.
57
+
length field.
62
58
</para>
63
59
</refsect1>
64
60

61
+
<refsect1 role="changelog">
62
+
&reftitle.changelog;
63
+
<informaltable>
64
+
<tgroup cols="2">
65
+
<thead>
66
+
<row>
67
+
<entry>&Version;</entry>
68
+
<entry>&Description;</entry>
69
+
</row>
70
+
</thead>
71
+
<tbody>
72
+
&pgsql.changelog.result-object;
73
+
</tbody>
74
+
</tgroup>
75
+
</informaltable>
76
+
</refsect1>
77
+
65
78
<refsect1 role="examples">
66
79
&reftitle.examples;
67
80
<para>
...
...
@@ -121,7 +134,6 @@ field type: varchar
121
134
</para>
122
135
</refsect1>
123
136
</refentry>
124
-

125
137
<!-- Keep this comment at the end of the file
126
138
Local variables:
127
139
mode: sgml
128
140