v41_amit_1.patch.txt

text/plain

Filename: v41_amit_1.patch.txt
Type: text/plain
Part: 0
Message: Re: Proposal: Conflict log history table for Logical Replication
diff --git a/src/backend/catalog/aclchk.c b/src/backend/catalog/aclchk.c
index e583187c7a6..19c568f4705 100644
--- a/src/backend/catalog/aclchk.c
+++ b/src/backend/catalog/aclchk.c
@@ -3347,9 +3347,9 @@ pg_class_aclmask_ext(Oid table_oid, Oid roleid, AclMode mask,
 				 * For conflict log tables, allow non-superusers to perform
 				 * DELETE and TRUNCATE for cleanup and maintenance. Also allow
 				 * INSERT and UPDATE to pass ACL checks so that later checks
-				 * can raise the dedicated "cannot modify or insert data into
-				 * conflict log table" error instead of a generic permission
-				 * denied error. Still restrict USAGE for non-superusers.
+				 * in CheckValidResultRel() can raise the specific error instead
+				 * of a generic permission denied error. Still restrict USAGE for
+				 * non-superusers.
 				 */
 				mask &= ~(ACL_USAGE);
 			}