1
0
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:
Tom Lane
2005-05-31 00:07:47 +00:00
parent 978129f28e
commit 12a323b7a8
3 changed files with 7 additions and 7 deletions

View File

@ -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;