Re: pg_partition_tree crashes for a non-defined relation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_partition_tree crashes for a non-defined relation
Дата
Msg-id 20190304185600.GA24510@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pg_partition_tree crashes for a non-defined relation  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: pg_partition_tree crashes for a non-defined relation
Список pgsql-hackers
On 2019-Feb-28, Alvaro Herrera wrote:

> What about legacy inheritance?  I see that pg_partition_tree handles
> that case perfectly well -- it seems to return the complete hierarchy
> rooted at the given relation.  However, it seems odd that it works at
> all, don't you think?  Consider this:
> [...]
> I would opt for returning the empty set for legacy inheritance too.

I added tests to immortalize the current behavior for legacy inheritance
relations too.  Thanks!

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: POC: converting Lists into arrays