git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5320c6c) | patch
Create a syscache for pg_database-indexed-by-oid, and make use of it
Wed, 3 May 2006 22:45:26 +0000 (22:45 +0000)
Wed, 3 May 2006 22:45:26 +0000 (22:45 +0000)
commit cb98e6fb8fd4f1ca955a85d5c0088e42e77a04f0
Create a syscache for pg_database-indexed-by-oid, and make use of it
in various places that were previously doing ad hoc pg_database searches.
This may speed up database-related privilege checks a little bit, but
the main motivation is to eliminate the performance reason for having
ReverifyMyDatabase do such a lot of stuff (viz, avoiding repeat scans
of pg_database during backend startup). The locking reason for having
that routine is about to go away, and it'd be good to have the option
to break it up.
src/backend/catalog/aclchk.c diff | blob | blame | history
src/backend/commands/dbcommands.c diff | blob | blame | history
src/backend/commands/vacuum.c diff | blob | blame | history
src/backend/postmaster/autovacuum.c diff | blob | blame | history
src/backend/utils/cache/syscache.c diff | blob | blame | history
src/backend/utils/init/postinit.c diff | blob | blame | history
src/include/utils/acl.h diff | blob | blame | history
src/include/utils/syscache.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /