BUG #17756: Invalid replica indentity set order in a dump
PG Bug reporting form <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: sergey.belyashov@gmail.com
Date: 2023-01-20T13:41:07Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow REPLICA IDENTITY to be set on an index that's not (yet) valid.
- a5f3f2fce1e9 12.14 landed
- 6c122eddecc1 11.19 landed
- c9f7f926484d 16.0 landed
- 9e4288ce6d30 15.2 landed
- 72d611109e65 13.10 landed
- 70ec756b01a4 14.7 landed
The following bug has been logged on the website: Bug reference: 17756 Logged by: Sergey Belyashov Email address: sergey.belyashov@gmail.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.