From 750d9171f6f758e9aa30b905c884d53da15a0b87 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 28 Jan 2005 23:12:59 +0000 Subject: [PATCH] Add documentation for format_type(), which somehow escaped it before. --- doc/src/sgml/func.sgml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 05d661fc24..099f2c4ae9 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,5 +1,5 @@ @@ -8505,6 +8505,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); this way — if the name can be recognized at all, it must be visible. + + format_type + + pg_get_viewdef @@ -8554,6 +8558,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); + + format_type(type_oid, typemod) + text + get SQL name of a data type + pg_get_viewdef(view_name) text @@ -8643,6 +8652,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); + + format_type returns the SQL name of a data type that + is identified by its type OID and possibly a type modifier. Pass NULL + for the type modifier if no specific modifier is known. + + pg_get_viewdef, pg_get_ruledef, -- 2.40.0