mirror of
https://github.com/postgres/postgres.git
synced 2026-06-13 18:50:17 -04:00
Assorted compilation and test fixes
related to 7c4f52409a, per build farm
Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
This commit is contained in:
parent
232c532213
commit
128e6ee01d
3 changed files with 7 additions and 1 deletions
|
|
@ -4450,7 +4450,10 @@ _copyAlterSubscriptionStmt(const AlterSubscriptionStmt *from)
|
|||
{
|
||||
AlterSubscriptionStmt *newnode = makeNode(AlterSubscriptionStmt);
|
||||
|
||||
COPY_SCALAR_FIELD(kind);
|
||||
COPY_STRING_FIELD(subname);
|
||||
COPY_STRING_FIELD(conninfo);
|
||||
COPY_NODE_FIELD(publication);
|
||||
COPY_NODE_FIELD(options);
|
||||
|
||||
return newnode;
|
||||
|
|
|
|||
|
|
@ -2199,7 +2199,10 @@ static bool
|
|||
_equalAlterSubscriptionStmt(const AlterSubscriptionStmt *a,
|
||||
const AlterSubscriptionStmt *b)
|
||||
{
|
||||
COMPARE_SCALAR_FIELD(kind);
|
||||
COMPARE_STRING_FIELD(subname);
|
||||
COMPARE_STRING_FIELD(conninfo);
|
||||
COMPARE_NODE_FIELD(publication);
|
||||
COMPARE_NODE_FIELD(options);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ typedef struct LogicalRepWorker
|
|||
} LogicalRepWorker;
|
||||
|
||||
/* Memory context for cached variables in apply worker. */
|
||||
MemoryContext ApplyCacheContext;
|
||||
extern MemoryContext ApplyCacheContext;
|
||||
|
||||
/* libpqreceiver connection */
|
||||
extern struct WalReceiverConn *wrconn;
|
||||
|
|
|
|||
Loading…
Reference in a new issue