Commit 128e6ee0 authored by Peter Eisentraut's avatar Peter Eisentraut

Assorted compilation and test fixes

related to 7c4f5240, per build farm

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
parent 232c5322
...@@ -4450,7 +4450,10 @@ _copyAlterSubscriptionStmt(const AlterSubscriptionStmt *from) ...@@ -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;
......
...@@ -2199,7 +2199,10 @@ static bool ...@@ -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;
......
...@@ -46,7 +46,7 @@ typedef struct LogicalRepWorker ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment