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

Appearance settings

Commit dba9153

Browse filesBrowse files
Doc: Fix pageinspect bt_page_items() example.
Oversight in commit 93ee38e.
1 parent 93ee38e commit dba9153
Copy full SHA for dba9153

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎doc/src/sgml/pageinspect.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/pageinspect.sgml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ btpo_flags | 3
357357
<function>bt_page_items</function> returns detailed information about
358358
all of the items on a B-tree index page. For example:
359359
<screen>
360-
test=# SELECT itemoffset, ctid, itemlen, nulls, vars, data, dead, htid, tids[0:2] AS some_tids
361-
FROM bt_page_items(get_raw_page('tenk2_hundred', 5));
360+
test=# SELECT itemoffset, ctid, itemlen, nulls, vars, data, dead, htid, tids[0:2] AS some_tids
361+
FROM bt_page_items('tenk2_hundred', 5);
362362
itemoffset | ctid | itemlen | nulls | vars | data | dead | htid | some_tids
363363
------------+-----------+---------+-------+------+-------------------------+------+--------+---------------------
364364
1 | (16,1) | 16 | f | f | 30 00 00 00 00 00 00 00 | | |
@@ -445,8 +445,8 @@ btpo_flags | 3
445445
with <function>get_raw_page</function> should be passed as argument. So
446446
the last example could also be rewritten like this:
447447
<screen>
448-
test=# SELECT itemoffset, ctid, itemlen, nulls, vars, data, dead, htid, tids[0:2] AS some_tids
449-
FROM bt_page_items(get_raw_page('tenk2_hundred', 5));
448+
test=# SELECT itemoffset, ctid, itemlen, nulls, vars, data, dead, htid, tids[0:2] AS some_tids
449+
FROM bt_page_items(get_raw_page('tenk2_hundred', 5));
450450
itemoffset | ctid | itemlen | nulls | vars | data | dead | htid | some_tids
451451
------------+-----------+---------+-------+------+-------------------------+------+--------+---------------------
452452
1 | (16,1) | 16 | f | f | 30 00 00 00 00 00 00 00 | | |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.