pgsql-server/src backend/catalog/aclchk.c back ...
От | tgl@postgresql.org (Tom Lane) |
---|---|
Тема | pgsql-server/src backend/catalog/aclchk.c back ... |
Дата | |
Msg-id | 20020805032917.B63A94758DD@postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@postgresql.org 02/08/04 23:29:17 Modified files: src/backend/catalog: aclchk.c heap.c index.c indexing.c pg_aggregate.c pg_constraint.c pg_conversion.c pg_depend.c pg_largeobject.c pg_namespace.c pg_operator.c pg_proc.c pg_type.c src/backend/commands: analyze.c async.c comment.c dbcommands.c functioncmds.c opclasscmds.c proclang.c tablecmds.c trigger.c user.c src/backend/rewrite: rewriteDefine.c rewriteSupport.c src/backend/storage/large_object: inv_api.c src/backend/utils/adt: sets.c src/backend/utils/cache: syscache.c src/include/catalog: indexing.h Log message: Restructure system-catalog index updating logic. Instead of having hardwired lists of index names for each catalog, use the relcache's mechanism for caching lists of OIDs of indexes of any table. This reduces the common case of updating system catalog indexes to a single line, makes it much easier to add a new system index (in fact, you can now do so on-the-fly if you want to), and as a nice side benefit improves performance a little. Per recent pghackers discussion.
В списке pgsql-committers по дате отправления: