mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Change relblocknumber field of pg_buffercache view from numeric to int8
for efficiency's sake. Mark Kirkwood.
This commit is contained in:
@ -11,7 +11,7 @@ LANGUAGE 'C';
|
||||
CREATE VIEW pg_buffercache AS
|
||||
SELECT P.* FROM pg_buffercache_pages() AS P
|
||||
(bufferid integer, relfilenode oid, reltablespace oid, reldatabase oid,
|
||||
relblocknumber numeric(10), isdirty bool);
|
||||
relblocknumber int8, isdirty bool);
|
||||
|
||||
-- Don't want these to be available at public.
|
||||
REVOKE ALL ON FUNCTION pg_buffercache_pages() FROM PUBLIC;
|
||||
|
Reference in New Issue
Block a user