Assorted compilation and test fixes

related to 7c4f52409a8c7d85ed169bbbc1f6092274d03920, per build farm

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
This commit is contained in:
Peter Eisentraut 2017-03-23 11:44:43 -04:00
parent 232c532213
commit 128e6ee01d
3 changed files with 7 additions and 1 deletions

View File

@ -4450,7 +4450,10 @@ _copyAlterSubscriptionStmt(const AlterSubscriptionStmt *from)
{ {
AlterSubscriptionStmt *newnode = makeNode(AlterSubscriptionStmt); AlterSubscriptionStmt *newnode = makeNode(AlterSubscriptionStmt);
COPY_SCALAR_FIELD(kind);
COPY_STRING_FIELD(subname); COPY_STRING_FIELD(subname);
COPY_STRING_FIELD(conninfo);
COPY_NODE_FIELD(publication);
COPY_NODE_FIELD(options); COPY_NODE_FIELD(options);
return newnode; return newnode;

View File

@ -2199,7 +2199,10 @@ static bool
_equalAlterSubscriptionStmt(const AlterSubscriptionStmt *a, _equalAlterSubscriptionStmt(const AlterSubscriptionStmt *a,
const AlterSubscriptionStmt *b) const AlterSubscriptionStmt *b)
{ {
COMPARE_SCALAR_FIELD(kind);
COMPARE_STRING_FIELD(subname); COMPARE_STRING_FIELD(subname);
COMPARE_STRING_FIELD(conninfo);
COMPARE_NODE_FIELD(publication);
COMPARE_NODE_FIELD(options); COMPARE_NODE_FIELD(options);
return true; return true;

View File

@ -46,7 +46,7 @@ typedef struct LogicalRepWorker
} LogicalRepWorker; } LogicalRepWorker;
/* Memory context for cached variables in apply worker. */ /* Memory context for cached variables in apply worker. */
MemoryContext ApplyCacheContext; extern MemoryContext ApplyCacheContext;
/* libpqreceiver connection */ /* libpqreceiver connection */
extern struct WalReceiverConn *wrconn; extern struct WalReceiverConn *wrconn;