Get rid of pg_class.reltoastidxid.

Fujii Masao <fujii@postgresql.org>

Commit: 2ef085d0e6960f5087c97266a7211d37ddaa9f68
Author: Fujii Masao <fujii@postgresql.org>
Date: 2013-07-03T18:24:09Z
Releases: 9.4.0
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.

Files