Re: Partitioned index can be not dumped - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: Partitioned index can be not dumped
Date
Msg-id 202106301444.stcqg7mahclr@alvherre.pgsql
Whole thread Raw
In response to Partitioned index can be not dumped  (Alexander Pyhalov <a.pyhalov@postgrespro.ru>)
List pgsql-hackers
On 2021-Jun-30, Alexander Pyhalov wrote:

> Hi.
> 
> I've seen the following effect on PostgreSQL 14 stable branch.
> Index, created on partitioned table, disappears from pg_dump or psql \d
> output.
> This seems to begin after analyze. Partitoned relation relhasindex pg_class
> field suddenly becomes false.

Uh, ouch.

I'll look into this shortly.



-- 
Álvaro Herrera                        Valdivia, Chile
                        https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Preventing abort() and exit() calls in libpq
Next
From: Alvaro Herrera
Date:
Subject: Re: Preventing abort() and exit() calls in libpq