@@ -17700,32 +17700,34 @@ SELECT collation for ('foo' COLLATE "de_DE");
17700
17700
17701
17701
<tbody>
17702
17702
<row>
17703
- <entry><literal><function>pg_describe_object(<parameter>catalog_id </parameter>, <parameter>object_id </parameter>, <parameter>object_sub_id </parameter>)</function></literal></entry>
17703
+ <entry><literal><function>pg_describe_object(<parameter>classid </parameter> <type>oid</type> , <parameter>objid </parameter> <type>oid</type> , <parameter>objsubid </parameter> <type>integer</type >)</function></literal></entry>
17704
17704
<entry><type>text</type></entry>
17705
17705
<entry>get description of a database object</entry>
17706
17706
</row>
17707
17707
<row>
17708
- <entry><literal><function>pg_identify_object(<parameter>catalog_id </parameter> <type>oid</type>, <parameter>object_id </parameter> <type>oid</type>, <parameter>object_sub_id </parameter> <type>integer</type>)</function></literal></entry>
17708
+ <entry><literal><function>pg_identify_object(<parameter>classid </parameter> <type>oid</type>, <parameter>objid </parameter> <type>oid</type>, <parameter>objsubid </parameter> <type>integer</type>)</function></literal></entry>
17709
17709
<entry><parameter>type</parameter> <type>text</type>, <parameter>schema</parameter> <type>text</type>, <parameter>name</parameter> <type>text</type>, <parameter>identity</parameter> <type>text</type></entry>
17710
17710
<entry>get identity of a database object</entry>
17711
17711
</row>
17712
17712
<row>
17713
- <entry><literal><function>pg_identify_object_as_address(<parameter>catalog_id </parameter> <type>oid</type>, <parameter>object_id </parameter> <type>oid</type>, <parameter>object_sub_id </parameter> <type>integer</type>)</function></literal></entry>
17714
- <entry><parameter>type</parameter> <type>text</type>, <parameter>name </parameter> <type>text[]</type>, <parameter>args </parameter> <type>text[]</type></entry>
17713
+ <entry><literal><function>pg_identify_object_as_address(<parameter>classid </parameter> <type>oid</type>, <parameter>objid </parameter> <type>oid</type>, <parameter>objsubid </parameter> <type>integer</type>)</function></literal></entry>
17714
+ <entry><parameter>type</parameter> <type>text</type>, <parameter>object_names </parameter> <type>text[]</type>, <parameter>object_args </parameter> <type>text[]</type></entry>
17715
17715
<entry>get external representation of a database object's address</entry>
17716
17716
</row>
17717
17717
<row>
17718
- <entry><literal><function>pg_get_object_address(<parameter>type</parameter> <type>text</type>, <parameter>name </parameter> <type>text[]</type>, <parameter>args </parameter> <type>text[]</type>)</function></literal></entry>
17719
- <entry><parameter>catalog_id </parameter> <type>oid</type>, <parameter>object_id </parameter> <type>oid</type>, <parameter>object_sub_id </parameter> <type>int32 </type></entry>
17720
- <entry>get address of a database object, from its external representation</entry>
17718
+ <entry><literal><function>pg_get_object_address(<parameter>type</parameter> <type>text</type>, <parameter>object_names </parameter> <type>text[]</type>, <parameter>object_args </parameter> <type>text[]</type>)</function></literal></entry>
17719
+ <entry><parameter>classid </parameter> <type>oid</type>, <parameter>objid </parameter> <type>oid</type>, <parameter>objsubid </parameter> <type>integer </type></entry>
17720
+ <entry>get address of a database object from its external representation</entry>
17721
17721
</row>
17722
17722
</tbody>
17723
17723
</tgroup>
17724
17724
</table>
17725
17725
17726
17726
<para>
17727
17727
<function>pg_describe_object</function> returns a textual description of a database
17728
- object specified by catalog OID, object OID and a (possibly zero) sub-object ID.
17728
+ object specified by catalog OID, object OID, and sub-object ID (such as
17729
+ a column number within a table; the sub-object ID is zero when referring
17730
+ to a whole object).
17729
17731
This description is intended to be human-readable, and might be translated,
17730
17732
depending on server configuration.
17731
17733
This is useful to determine the identity of an object as stored in the
@@ -17734,29 +17736,30 @@ SELECT collation for ('foo' COLLATE "de_DE");
17734
17736
17735
17737
<para>
17736
17738
<function>pg_identify_object</function> returns a row containing enough information
17737
- to uniquely identify the database object specified by catalog OID, object OID and a
17738
- (possibly zero) sub-object ID. This information is intended to be machine-readable,
17739
+ to uniquely identify the database object specified by catalog OID, object OID and
17740
+ sub-object ID. This information is intended to be machine-readable,
17739
17741
and is never translated.
17740
17742
<parameter>type</parameter> identifies the type of database object;
17741
17743
<parameter>schema</parameter> is the schema name that the object belongs in, or
17742
17744
<literal>NULL</literal> for object types that do not belong to schemas;
17743
- <parameter>name</parameter> is the name of the object, quoted if necessary, only
17744
- present if it can be used (alongside schema name, if pertinent) as a unique
17745
- identifier of the object, otherwise <literal>NULL</literal>;
17746
- <parameter>identity</parameter> is the complete object identity, with the precise format
17747
- depending on object type, and each part within the format being
17748
- schema-qualified and quoted as necessary.
17745
+ <parameter>name</parameter> is the name of the object, quoted if necessary,
17746
+ if the name (along with schema name, if pertinent) is sufficient to
17747
+ uniquely identify the object, otherwise <literal>NULL</literal>;
17748
+ <parameter>identity</parameter> is the complete object identity, with the
17749
+ precise format depending on object type, and each name within the format
17750
+ being schema-qualified and quoted as necessary.
17749
17751
</para>
17750
17752
17751
17753
<para>
17752
17754
<function>pg_identify_object_as_address</function> returns a row containing
17753
17755
enough information to uniquely identify the database object specified by
17754
- catalog OID, object OID and a (possibly zero) sub-object ID. The returned
17756
+ catalog OID, object OID and sub-object ID. The returned
17755
17757
information is independent of the current server, that is, it could be used
17756
17758
to identify an identically named object in another server.
17757
17759
<parameter>type</parameter> identifies the type of database object;
17758
- <parameter>name</parameter> and <parameter>args</parameter> are text arrays that together
17759
- form a reference to the object. These three columns can be passed to
17760
+ <parameter>object_names</parameter> and <parameter>object_args</parameter>
17761
+ are text arrays that together form a reference to the object.
17762
+ These three values can be passed to
17760
17763
<function>pg_get_object_address</function> to obtain the internal address
17761
17764
of the object.
17762
17765
This function is the inverse of <function>pg_get_object_address</function>.
@@ -17769,10 +17772,10 @@ SELECT collation for ('foo' COLLATE "de_DE");
17769
17772
ones that would be used in system catalogs such as <structname>pg_depend</structname>
17770
17773
and can be passed to other system functions such as
17771
17774
<function>pg_identify_object</function> or <function>pg_describe_object</function>.
17772
- <parameter>catalog_id </parameter> is the OID of the system catalog containing the
17775
+ <parameter>classid </parameter> is the OID of the system catalog containing the
17773
17776
object;
17774
- <parameter>object_id </parameter> is the OID of the object itself, and
17775
- <parameter>object_sub_id </parameter> is the object sub-ID, or zero if none.
17777
+ <parameter>objid </parameter> is the OID of the object itself, and
17778
+ <parameter>objsubid </parameter> is the sub-object ID, or zero if none.
17776
17779
This function is the inverse of <function>pg_identify_object_as_address</function>.
17777
17780
</para>
17778
17781
@@ -20661,23 +20664,23 @@ FOR EACH ROW EXECUTE FUNCTION suppress_redundant_updates_trigger();
20661
20664
<tbody>
20662
20665
<row>
20663
20666
<entry><literal>classid</literal></entry>
20664
- <entry><type>Oid </type></entry>
20667
+ <entry><type>oid </type></entry>
20665
20668
<entry>OID of catalog the object belongs in</entry>
20666
20669
</row>
20667
20670
<row>
20668
20671
<entry><literal>objid</literal></entry>
20669
- <entry><type>Oid </type></entry>
20670
- <entry>OID of the object in the catalog </entry>
20672
+ <entry><type>oid </type></entry>
20673
+ <entry>OID of the object itself </entry>
20671
20674
</row>
20672
20675
<row>
20673
20676
<entry><literal>objsubid</literal></entry>
20674
20677
<entry><type>integer</type></entry>
20675
- <entry>Object sub-id (e.g. attribute number for columns )</entry>
20678
+ <entry>Sub-object ID (e.g. attribute number for a column )</entry>
20676
20679
</row>
20677
20680
<row>
20678
20681
<entry><literal>command_tag</literal></entry>
20679
20682
<entry><type>text</type></entry>
20680
- <entry>command tag</entry>
20683
+ <entry>Command tag</entry>
20681
20684
</row>
20682
20685
<row>
20683
20686
<entry><literal>object_type</literal></entry>
@@ -20696,14 +20699,14 @@ FOR EACH ROW EXECUTE FUNCTION suppress_redundant_updates_trigger();
20696
20699
<entry><literal>object_identity</literal></entry>
20697
20700
<entry><type>text</type></entry>
20698
20701
<entry>
20699
- Text rendering of the object identity, schema-qualified. Each and every
20700
- identifier present in the identity is quoted if necessary.
20702
+ Text rendering of the object identity, schema-qualified. Each
20703
+ identifier included in the identity is quoted if necessary.
20701
20704
</entry>
20702
20705
</row>
20703
20706
<row>
20704
20707
<entry><literal>in_extension</literal></entry>
20705
20708
<entry><type>bool</type></entry>
20706
- <entry>whether the command is part of an extension script</entry>
20709
+ <entry>True if the command is part of an extension script</entry>
20707
20710
</row>
20708
20711
<row>
20709
20712
<entry><literal>command</literal></entry>
@@ -20748,37 +20751,37 @@ FOR EACH ROW EXECUTE FUNCTION suppress_redundant_updates_trigger();
20748
20751
<tbody>
20749
20752
<row>
20750
20753
<entry><literal>classid</literal></entry>
20751
- <entry><type>Oid </type></entry>
20754
+ <entry><type>oid </type></entry>
20752
20755
<entry>OID of catalog the object belonged in</entry>
20753
20756
</row>
20754
20757
<row>
20755
20758
<entry><literal>objid</literal></entry>
20756
- <entry><type>Oid </type></entry>
20757
- <entry>OID the object had within the catalog </entry>
20759
+ <entry><type>oid </type></entry>
20760
+ <entry>OID of the object itself </entry>
20758
20761
</row>
20759
20762
<row>
20760
20763
<entry><literal>objsubid</literal></entry>
20761
- <entry><type>int32 </type></entry>
20762
- <entry>Object sub-id (e.g. attribute number for columns )</entry>
20764
+ <entry><type>integer </type></entry>
20765
+ <entry>Sub-object ID (e.g. attribute number for a column )</entry>
20763
20766
</row>
20764
20767
<row>
20765
20768
<entry><literal>original</literal></entry>
20766
20769
<entry><type>bool</type></entry>
20767
- <entry>Flag used to identify the root object(s) of the deletion</entry>
20770
+ <entry>True if this was one of the root object(s) of the deletion</entry>
20768
20771
</row>
20769
20772
<row>
20770
20773
<entry><literal>normal</literal></entry>
20771
20774
<entry><type>bool</type></entry>
20772
20775
<entry>
20773
- Flag indicating that there's a normal dependency relationship
20776
+ True if there was a normal dependency relationship
20774
20777
in the dependency graph leading to this object
20775
20778
</entry>
20776
20779
</row>
20777
20780
<row>
20778
20781
<entry><literal>is_temporary</literal></entry>
20779
20782
<entry><type>bool</type></entry>
20780
20783
<entry>
20781
- Flag indicating that the object was a temporary object.
20784
+ True if this was a temporary object
20782
20785
</entry>
20783
20786
</row>
20784
20787
<row>
@@ -20807,26 +20810,26 @@ FOR EACH ROW EXECUTE FUNCTION suppress_redundant_updates_trigger();
20807
20810
<entry><literal>object_identity</literal></entry>
20808
20811
<entry><type>text</type></entry>
20809
20812
<entry>
20810
- Text rendering of the object identity, schema-qualified. Each and every
20811
- identifier present in the identity is quoted if necessary.
20813
+ Text rendering of the object identity, schema-qualified. Each
20814
+ identifier included in the identity is quoted if necessary.
20812
20815
</entry>
20813
20816
</row>
20814
20817
<row>
20815
20818
<entry><literal>address_names</literal></entry>
20816
20819
<entry><type>text[]</type></entry>
20817
20820
<entry>
20818
20821
An array that, together with <literal>object_type</literal> and
20819
- <literal>address_args</literal>,
20820
- can be used by the <function>pg_get_object_address()</function> to
20822
+ <literal>address_args</literal>, can be used by
20823
+ the <function>pg_get_object_address()</function> function to
20821
20824
recreate the object address in a remote server containing an
20822
- identically named object of the same kind.
20825
+ identically named object of the same kind
20823
20826
</entry>
20824
20827
</row>
20825
20828
<row>
20826
20829
<entry><literal>address_args</literal></entry>
20827
20830
<entry><type>text[]</type></entry>
20828
20831
<entry>
20829
- Complement for <literal>address_names</literal> above.
20832
+ Complement for <literal>address_names</literal>
20830
20833
</entry>
20831
20834
</row>
20832
20835
</tbody>
0 commit comments