pgsql: Set relispartition correctly for index partitions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Set relispartition correctly for index partitions
Дата
Msg-id E1f6QFy-0007PE-0a@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Set relispartition correctly for index partitions

Oversight in commit 8b08f7d4820f: pg_class.relispartition was not
being set for index partitions, which is a bit odd, and was also causing
the code to unnecessarily call has_superclass() when simply checking the
flag was enough.

Author: Álvaro Herrera
Reported-by: Amit Langote
Discussion: https://postgr.es/m/12085bc4-0bc6-0f3a-4c43-57fe0681772b@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9e9befac4a2228ae8a5309900645ecd8ead69f53

Modified Files
--------------
src/backend/catalog/index.c      |  1 +
src/backend/commands/tablecmds.c | 51 ++++++++++++++++++++++++++++++++++------
2 files changed, 45 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Ignore nextOid when replaying an ONLINE checkpoint.
Следующее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Rename IndexInfo.ii_KeyAttrNumbers array