mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 17:20:31 -04:00
Mark views created from tables as replication identity 'nothing'
pg_dump turns tables into views using a method that was not setting pg_class.relreplident properly. Patch by Marko Tiikkaja Backpatch through 9.4
This commit is contained in:
parent
7140e11d8a
commit
70fac48446
1 changed files with 1 additions and 0 deletions
|
|
@ -596,6 +596,7 @@ DefineQueryRewrite(char *rulename,
|
|||
classForm->relhaspkey = false;
|
||||
classForm->relfrozenxid = InvalidTransactionId;
|
||||
classForm->relminmxid = InvalidMultiXactId;
|
||||
classForm->relreplident = REPLICA_IDENTITY_NOTHING;
|
||||
|
||||
simple_heap_update(relationRelation, &classTup->t_self, classTup);
|
||||
CatalogUpdateIndexes(relationRelation, classTup);
|
||||
|
|
|
|||
Loading…
Reference in a new issue