Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1e0e8d

Browse files
committed
Fix function signatures of pageinspect in documentation
tuple_data_split() lacked the type of the first argument, andheap_page_item_attrs() has reversed the first and second argument,with the bytea argument using an incorrect name.Author: Laurenz AlbeDiscussion:https://postgr.es/m/8f9ab7b16daf623e87eeef5203a4ffc0dece8dfd.camel@cybertec.atBackpatch-through: 9.6
1 parentbeeb8e2 commite1e0e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/pageinspect.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ test=# SELECT * FROM heap_page_items(get_raw_page('pg_class', 0));
156156

157157
<varlistentry>
158158
<term>
159-
<function>tuple_data_split(rel_oid, t_data bytea, t_infomask integer, t_infomask2 integer, t_bits text [, do_detoast bool]) returns bytea[]</function>
159+
<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>
160160
<indexterm>
161161
<primary>tuple_data_split</primary>
162162
</indexterm>
@@ -181,7 +181,7 @@ test=# SELECT tuple_data_split('pg_class'::regclass, t_data, t_infomask, t_infom
181181

182182
<varlistentry>
183183
<term>
184-
<function>heap_page_item_attrs(rel_oid, t_data bytea, [, do_detoast bool]) returnsbytea[]</function>
184+
<function>heap_page_item_attrs(page bytea, rel_oid regclass, [, do_detoast bool]) returnssetof record</function>
185185
<indexterm>
186186
<primary>heap_page_item_attrs</primary>
187187
</indexterm>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp