]> granicus.if.org Git - postgresql/commit
Get rid of pg_class.reltoastidxid.
authorFujii Masao <fujii@postgresql.org>
Wed, 3 Jul 2013 18:24:09 +0000 (03:24 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 3 Jul 2013 18:24:09 +0000 (03:24 +0900)
commit2ef085d0e6960f5087c97266a7211d37ddaa9f68
tree7edac95cbc3bbe0aea721e95e8d4804486a7d0ea
parentf71939cd1ac765ba618115f40de4d9c47955a9ef
Get rid of pg_class.reltoastidxid.

Treat TOAST index just the same as normal one and get the OID
of TOAST index from pg_index but not pg_class.reltoastidxid.
This change allows us to handle multiple TOAST indexes, and
which is required infrastructure for upcoming
REINDEX CONCURRENTLY feature.

Patch by Michael Paquier, reviewed by Andres Freund and me.
21 files changed:
contrib/pg_upgrade/info.c
doc/src/sgml/catalogs.sgml
doc/src/sgml/diskusage.sgml
doc/src/sgml/monitoring.sgml
src/backend/access/heap/tuptoaster.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/catalog/system_views.sql
src/backend/commands/cluster.c
src/backend/commands/tablecmds.c
src/backend/rewrite/rewriteDefine.c
src/backend/utils/adt/dbsize.c
src/bin/pg_dump/pg_dump.c
src/include/access/tuptoaster.h
src/include/catalog/catversion.h
src/include/catalog/pg_class.h
src/test/regress/expected/oidjoins.out
src/test/regress/expected/rules.out
src/test/regress/sql/oidjoins.sql
src/test/regress/sql/rules.sql
src/tools/findoidjoins/README