pg_buffercache: Change page_num type to bigint
Tomas Vondra <tomas.vondra@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_buffercache/pg_buffercache--1.5--1.6.sql | modified | +1 −1 |
| contrib/pg_buffercache/pg_buffercache_pages.c | modified | +3 −3 |
| doc/src/sgml/pgbuffercache.sgml | modified | +1 −1 |
Documentation touched
Discussion
Cited messages not in the archive:
CAKZiRmxh6KWo0aqRqvmcoaX2jUxZYb4kGp3N=q1w+DiH-696Xw@mail.gmail.co