Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 39b73d0

Browse files
committed
suppress pk warning in volkswagen mode
1 parent bc90f85 commit 39b73d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mmts/multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5177,7 +5177,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
51775177
if (relid != InvalidOid) {
51785178
Oid constraint_oid;
51795179
Bitmapset* pk = get_primary_key_attnos(relid, true, &constraint_oid);
5180-
if (pk == NULL) {
5180+
if (pk == NULL && !MtmVolksWagenMode) {
51815181
elog(WARNING,
51825182
MtmIgnoreTablesWithoutPk
51835183
? "Table %s.%s without primary will not be replicated"

0 commit comments

Comments
 (0)