Skip to content

Commit 7b82d7d

Browse files
committed
add to_atttype(relation text, colnum int2)
1 parent 11bec9a commit 7b82d7d

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

doc/src/sgml/dump_stat.sgml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ test=# SELECT anyarray_elemtype(array_in('{1,2,3}', 'int'::regtype, -1));
186186
-------------------
187187
23
188188
(1 row)
189-
</screen>
190-
189+
</screen>
191190
</listitem>
192191
</varlistentry>
193192

@@ -238,6 +237,19 @@ test=# SELECT anyarray_elemtype(array_in('{1,2,3}', 'int'::regtype, -1));
238237
</para>
239238
</listitem>
240239
</varlistentry>
240+
241+
<varlistentry>
242+
<term>
243+
<function>to_atttype(relation text, colnum int2) returns text</function>
244+
</term>
245+
246+
<listitem>
247+
<para>
248+
Given a relation name <literal>relation</> and a column number
249+
<literal>colnum</>, returns the schema-qualified column type as <literal>text</>.
250+
</para>
251+
</listitem>
252+
</varlistentry>
241253

242254
<varlistentry>
243255
<term>

0 commit comments

Comments
 (0)