diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-03-08 15:10:14 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-03-08 15:10:14 +0900 |
commit | e1e0e8d58c5c70da92e36cb9d59c2f7ecf839e00 (patch) | |
tree | 346986db142a425aba907322e173ffa5e911db53 /doc/src | |
parent | beeb8e2e0717065296dc7b32daba2d66f0f931dd (diff) | |
download | postgresql-e1e0e8d58c5c70da92e36cb9d59c2f7ecf839e00.tar.gz postgresql-e1e0e8d58c5c70da92e36cb9d59c2f7ecf839e00.zip |
Fix function signatures of pageinspect in documentation
tuple_data_split() lacked the type of the first argument, and
heap_page_item_attrs() has reversed the first and second argument,
with the bytea argument using an incorrect name.
Author: Laurenz Albe
Discussion: https://postgr.es/m/8f9ab7b16daf623e87eeef5203a4ffc0dece8dfd.camel@cybertec.at
Backpatch-through: 9.6
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pageinspect.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/pageinspect.sgml b/doc/src/sgml/pageinspect.sgml index 9cbe34c9d91..cdd2419479e 100644 --- a/doc/src/sgml/pageinspect.sgml +++ b/doc/src/sgml/pageinspect.sgml @@ -156,7 +156,7 @@ test=# SELECT * FROM heap_page_items(get_raw_page('pg_class', 0)); <varlistentry> <term> - <function>tuple_data_split(rel_oid, t_data bytea, t_infomask integer, t_infomask2 integer, t_bits text [, do_detoast bool]) returns bytea[]</function> + <function>tuple_data_split(rel_oid oid, t_data bytea, t_infomask integer, t_infomask2 integer, t_bits text [, do_detoast bool]) returns bytea[]</function> <indexterm> <primary>tuple_data_split</primary> </indexterm> @@ -181,7 +181,7 @@ test=# SELECT tuple_data_split('pg_class'::regclass, t_data, t_infomask, t_infom <varlistentry> <term> - <function>heap_page_item_attrs(rel_oid, t_data bytea, [, do_detoast bool]) returns bytea[]</function> + <function>heap_page_item_attrs(page bytea, rel_oid regclass, [, do_detoast bool]) returns setof record</function> <indexterm> <primary>heap_page_item_attrs</primary> </indexterm> |