mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03: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
@ -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…
x
Reference in New Issue
Block a user