Assorted compilation and test fixes
related to 7c4f52409a8c7d85ed169bbbc1f6092274d03920, per build farm Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
This commit is contained in:
parent
232c532213
commit
128e6ee01d
@ -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
|
|||||||
_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
|
|||||||
} 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user