We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent972bf7d commitf5f2c2dCopy full SHA for f5f2c2d
src/backend/commands/foreigncmds.c
@@ -392,10 +392,10 @@ AlterForeignServerOwner_internal(Relation rel, HeapTuple tup, Oid newOwnerId)
392
393
memset(repl_null, false,sizeof(repl_null));
394
memset(repl_repl, false,sizeof(repl_repl));
395
-
+
396
repl_repl[Anum_pg_foreign_server_srvowner-1]= true;
397
repl_val[Anum_pg_foreign_server_srvowner-1]=ObjectIdGetDatum(newOwnerId);
398
399
aclDatum=heap_getattr(tup,
400
Anum_pg_foreign_server_srvacl,
401
RelationGetDescr(rel),
@@ -408,7 +408,7 @@ AlterForeignServerOwner_internal(Relation rel, HeapTuple tup, Oid newOwnerId)
408
repl_repl[Anum_pg_foreign_server_srvacl-1]= true;
409
repl_val[Anum_pg_foreign_server_srvacl-1]=PointerGetDatum(newAcl);
410
}
411
412
tup=heap_modify_tuple(tup,RelationGetDescr(rel),repl_val,repl_null,
413
repl_repl);
414