BUG #17756: Invalid replica indentity set order in a dump

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: sergey(dot)belyashov(at)gmail(dot)com
Subject: BUG #17756: Invalid replica indentity set order in a dump
Date: 2023-01-20 13:41:07
Message-ID: 17756-dd50e8e0c8dd4a40@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17756
Logged by: Sergey Belyashov
Email address: sergey(dot)belyashov(at)gmail(dot)com
PostgreSQL version: 14.5
Operating system: Debian Linux x86_64
Description:

Some database have a partitioned table with unique index used as REPLICA
IDENTITY. pg_dump places ALTER TABLE tbl REPLICA IDENTITY USING INDEX
some_idx after partial index creation. But Postgresql fails to restore such
dump because replica identity cannot be set on invalid index some_idx:
partition indices are not created.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Liang Shen 2023-01-20 13:56:51 ST_Union(rast, uniontype) treat bands with different classes as the same as first band
Previous Message Pavol Sekeres 2023-01-20 10:42:53 Re: BUG #17755: database queries get stuck for certain IDs