Re: Missing comma?
Marina Polyakova <m.polyakova@postgrespro.ru>
From: Marina Polyakova <m.polyakova@postgrespro.ru>
To: Michael Paquier <michael@paquier.xyz>
Cc: daniel@yesql.se, a.lakhin@postgrespro.ru, pgsql-docs@postgresql.org
Date: 2020-05-18T19:31:35Z
Lists: pgsql-docs
Attachments
- 0001-Fix-the-description-of-the-field-pg_class.relreplide.patch (text/x-diff) patch 0001
On 2020-05-18 09:16, Michael Paquier wrote: > On Sat, May 16, 2020 at 09:38:46PM +0300, Marina Polyakova wrote: >> I like if we can explain the situation in more detail. But IMO the >> phrase >> "same as default" sounds as if we will try to find the primary index >> and use >> it if the required index (with pg_index.indisreplident = true) does >> not >> exist. What do you think of "(same as nothing if the index used got >> dropped)"? It seems that in this case we have the same behaviour: >> - we cannot update or delete rows from the table if the action is >> published >> because this table does not have a "working" replica identity; >> - we cannot apply updates or deletes on subscriber until we have a >> primary >> key or the published relation has replica identity full. > > Yeah. I was testing that once again today and you are right. The > publisher would just assume that there is nothing as there is in the > changes nothing about the old row for a relation using a replident > based on an index that got dropped, and this even if there is a > primary key on the relation. So using "same as nothing" would be > fine. Glad to hear this =) > Would you like to send an updated patch? Note that as the release of > beta1 is planned for this week, we have a grace period until the > version is tagged on HEAD. The patch is attached, changes to html such as they were discussed. -- Marina Polyakova Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
Doc: Fix description of pg_class.relreplident
- 781b6a3ea7ea 9.5.23 landed
- bad73cb30ad8 9.6.19 landed
- 7adbd2520bbc 10.14 landed
- 673582d21f30 11.9 landed
- fd7636909101 12.4 landed
- 39cb2ee09cf9 13.0 landed
-
Fix assertion with relation using REPLICA IDENTITY FULL in subscriber
- 7ccb2f54d9f3 13.0 cited