Content-Length: 254892 | pFad | http://github.com/postgrespro/postgres_cluster/commit/ac813416dbc6190c7effdee00d06b292805ccfe6

D4 suppress pk warning in volkswagen mode · postgrespro/postgres_cluster@ac81341 · GitHub
Skip to content

Commit ac81341

Browse files
committed
suppress pk warning in volkswagen mode
1 parent 770bb95 commit ac81341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5191,7 +5191,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
51915191
if (relid != InvalidOid) {
51925192
Oid constraint_oid;
51935193
Bitmapset* pk = get_primary_key_attnos(relid, true, &constraint_oid);
5194-
if (pk == NULL) {
5194+
if (pk == NULL && !MtmVolksWagenMode) {
51955195
elog(WARNING,
51965196
MtmIgnoreTablesWithoutPk
51975197
? "Table %s.%s without primary will not be replicated"

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_cluster/commit/ac813416dbc6190c7effdee00d06b292805ccfe6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy