reference/pgsql/functions/pg-meta-data.xml
c2eca73ef79ebe78cebb34053e41b565af504c4f
...
...
@@ -1,7 +1,7 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.80 -->
4
-
<refentry xml:id='function.pg-meta-data' xmlns="http://docbook.org/ns/docbook">
4
+
<refentry xml:id="function.pg-meta-data" xmlns="http://docbook.org/ns/docbook">
5
5
<refnamediv>
6
6
<refname>pg_meta_data</refname>
7
7
<refpurpose>
...
...
@@ -12,10 +12,10 @@
12
12
<refsect1 role="description">
13
13
&reftitle.description;
14
14
<methodsynopsis>
15
-
<type>array</type><methodname>pg_meta_data</methodname>
16
-
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
15
+
<type class="union"><type>array</type><type>false</type></type><methodname>pg_meta_data</methodname>
16
+
<methodparam><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
17
17
<methodparam><type>string</type><parameter>table_name</parameter></methodparam>
18
-
<methodparam choice="opt"><type>bool</type><parameter>extended</parameter></methodparam>
18
+
<methodparam choice="opt"><type>bool</type><parameter>extended</parameter><initializer>&false;</initializer></methodparam>
19
19
</methodsynopsis>
20
20
<para>
21
21
<function>pg_meta_data</function> returns table definition for
...
...
@@ -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
<varlistentry>
...
...
@@ -58,10 +56,27 @@
58
56
<refsect1 role="returnvalues">
59
57
&reftitle.returnvalues;
60
58
<para>
61
-
An <type>array</type> of the table definition, or &false; on error.
59
+
An <type>array</type> of the table definition, &return.falseforfailure;.
62
60
</para>
63
61
</refsect1>
64
62

63
+
<refsect1 role="changelog">
64
+
&reftitle.changelog;
65
+
<informaltable>
66
+
<tgroup cols="2">
67
+
<thead>
68
+
<row>
69
+
<entry>&Version;</entry>
70
+
<entry>&Description;</entry>
71
+
</row>
72
+
</thead>
73
+
<tbody>
74
+
&pgsql.changelog.connection-object;
75
+
</tbody>
76
+
</tgroup>
77
+
</informaltable>
78
+
</refsect1>
79
+
65
80
<refsect1 role="examples">
66
81
&reftitle.examples;
67
82
<para>
...
...
@@ -131,31 +146,6 @@ array(5) {
131
146
</para>
132
147
</refsect1>
133
148

134
-
<refsect1 role="changelog">
135
-
&reftitle.changelog;
136
-
<para>
137
-
<informaltable>
138
-
<tgroup cols="2">
139
-
<thead>
140
-
<row>
141
-
<entry>&Version;</entry>
142
-
<entry>&Description;</entry>
143
-
</row>
144
-
</thead>
145
-
<tbody>
146
-
<row>
147
-
<entry>5.6.0</entry>
148
-
<entry>
149
-
No longer experimental. Added "is enum" as default attribute.
150
-
<parameter>extended</parameter> flag is added.
151
-
</entry>
152
-
</row>
153
-
</tbody>
154
-
</tgroup>
155
-
</informaltable>
156
-
</para>
157
-
</refsect1>
158
-

159
149
<refsect1 role="seealso">
160
150
&reftitle.seealso;
161
151
<para>
...
...
@@ -165,7 +155,6 @@ array(5) {
165
155
</para>
166
156
</refsect1>
167
157
</refentry>
168
-

169
158
<!-- Keep this comment at the end of the file
170
159
Local variables:
171
160
mode: sgml
172
161