reference/pgsql/functions/pg-free-result.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -11,11 +11,11 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>pg_free_result</methodname>
14
-
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
14
+
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
<function>pg_free_result</function> frees the memory and data associated with the
18
-
specified PostgreSQL query result <type>resource</type>.
18
+
specified <classname>PgSql\Result</classname> instance.
19
19
</para>
20
20
<para>
21
21
This function need only be called if memory
...
...
@@ -36,11 +36,7 @@
36
36
<varlistentry>
37
37
<term><parameter>result</parameter></term>
38
38
<listitem>
39
-
<para>
40
-
PostgreSQL query result resource, returned by <function>pg_query</function>,
41
-
<function>pg_query_params</function> or <function>pg_execute</function>
42
-
(among others).
43
-
</para>
39
+
&pgsql.parameter.result;
44
40
</listitem>
45
41
</varlistentry>
46
42
</variablelist>
...
...
@@ -54,6 +50,23 @@
54
50
</para>
55
51
</refsect1>
56
52

53
+
<refsect1 role="changelog">
54
+
&reftitle.changelog;
55
+
<informaltable>
56
+
<tgroup cols="2">
57
+
<thead>
58
+
<row>
59
+
<entry>&Version;</entry>
60
+
<entry>&Description;</entry>
61
+
</row>
62
+
</thead>
63
+
<tbody>
64
+
&pgsql.changelog.result-object;
65
+
</tbody>
66
+
</tgroup>
67
+
</informaltable>
68
+
</refsect1>
69
+

57
70
<refsect1 role="examples">
58
71
&reftitle.examples;
59
72
<para>
60
73