Skip to content

Commit dba9153

Browse files
Doc: Fix pageinspect bt_page_items() example.
Oversight in commit 93ee38e.
1 parent 93ee38e commit dba9153

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/pageinspect.sgml

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy