Content-Length: 257752 | pFad | http://github.com/postgrespro/postgres/commit/70fac48446b3966050b73f6461e1404549672a8f

0B Mark views created from tables as replication identity 'nothing' · postgrespro/postgres@70fac48 · GitHub
Skip to content

Commit 70fac48

Browse files
committed
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
1 parent 7140e11 commit 70fac48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/rewrite/rewriteDefine.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ DefineQueryRewrite(char *rulename,
596596
classForm->relhaspkey = false;
597597
classForm->relfrozenxid = InvalidTransactionId;
598598
classForm->relminmxid = InvalidMultiXactId;
599+
classForm->relreplident = REPLICA_IDENTITY_NOTHING;
599600

600601
simple_heap_update(relationRelation, &classTup->t_self, classTup);
601602
CatalogUpdateIndexes(relationRelation, classTup);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/70fac48446b3966050b73f6461e1404549672a8f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy