aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2025-04-08 11:52:02 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2025-04-08 12:38:42 +0200
commit91f1fe90c7d42641201bd2c474bd86d703b5e830 (patch)
treecc9c4e0ab7a980120ab4e4af144ec7e5f186f816 /doc/src
parentb8a6078ca8f446a6271b26101de75ee48e288a3a (diff)
downloadpostgresql-91f1fe90c7d42641201bd2c474bd86d703b5e830.tar.gz
postgresql-91f1fe90c7d42641201bd2c474bd86d703b5e830.zip
pg_buffercache: Change page_num type to bigint
The page_num was defined as integer, which should be sufficient for the near future (with 4K pages it's 8TB). But it's virtually free to return bigint, and get a wider range. This was agreed on the thread, but I forgot to tweak this in ba2a3c2302f1. While at it, make the data types in CREATE VIEW a bit more consistent. Discussion: https://postgr.es/m/CAKZiRmxh6KWo0aqRqvmcoaX2jUxZYb4kGp3N%3Dq1w%2BDiH-696Xw%40mail.gmail.co
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/pgbuffercache.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/pgbuffercache.sgml b/doc/src/sgml/pgbuffercache.sgml
index ef5732942f7..537d6014942 100644
--- a/doc/src/sgml/pgbuffercache.sgml
+++ b/doc/src/sgml/pgbuffercache.sgml
@@ -267,7 +267,7 @@
<row>
<entry role="catalog_table_entry"><para role="column_definition">
- <structfield>os_page_num</structfield> <type>int</type>
+ <structfield>os_page_num</structfield> <type>bigint</type>
</para>
<para>
number of OS memory page for this buffer