Re: Add pg_partition_root to get top-most parent of a partition tree

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add pg_partition_root to get top-most parent of a partition tree
Дата
Msg-id 20190206101438.GC14980@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add pg_partition_root to get top-most parent of a partition tree  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Ответы Re: Add pg_partition_root to get top-most parent of a partition tree  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
On Wed, Feb 06, 2019 at 05:26:48PM +0900, Amit Langote wrote:
> Some minor comments on v4:

Thanks for the review.

> +/*
> + * Perform several checks on a relation on which is extracted some
> + * information related to its partition tree.
>
> This is a bit unclear to me.  How about:
>
> Checks if a given relation can be part of a partition tree

Done as suggested.

> Returns the top-most parent of the partition tree to which a given
> relation belongs, or NULL if it's not (or cannot be) part of any partition
> tree

Fine for me as well.

> Given that a couple (?) of other patches depend on this, maybe it'd be a
> good idea to proceed with this.

If you are happy with the version attached, I am fine to commit it.  I
think that we have the right semantics and the right test coverage for
this patch.

> Sorry that I kept this hanging too long by not sending these
> comments sooner.

No problem, don't worry.  There are many patches hanging around.
--
Michael

Вложения

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

Предыдущее
От: Andrey Lepikhov
Дата:
Сообщение: Re: Reduce amount of WAL generated by CREATE INDEX for gist, gin andsp-gist
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: fast defaults in heap_getattr vs heap_deform_tuple