Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 128e6ee

Browse files
committed
Assorted compilation and test fixes
related to 7c4f524, per build farm Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
1 parent 232c532 commit 128e6ee

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/backend/nodes/copyfuncs.c

+3
Original file line numberDiff line numberDiff line change
@@ -4450,7 +4450,10 @@ _copyAlterSubscriptionStmt(const AlterSubscriptionStmt *from)
44504450
{
44514451
AlterSubscriptionStmt *newnode = makeNode(AlterSubscriptionStmt);
44524452

4453+
COPY_SCALAR_FIELD(kind);
44534454
COPY_STRING_FIELD(subname);
4455+
COPY_STRING_FIELD(conninfo);
4456+
COPY_NODE_FIELD(publication);
44544457
COPY_NODE_FIELD(options);
44554458

44564459
return newnode;

src/backend/nodes/equalfuncs.c

+3
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,10 @@ static bool
21992199
_equalAlterSubscriptionStmt(const AlterSubscriptionStmt *a,
22002200
const AlterSubscriptionStmt *b)
22012201
{
2202+
COMPARE_SCALAR_FIELD(kind);
22022203
COMPARE_STRING_FIELD(subname);
2204+
COMPARE_STRING_FIELD(conninfo);
2205+
COMPARE_NODE_FIELD(publication);
22032206
COMPARE_NODE_FIELD(options);
22042207

22052208
return true;

src/include/replication/worker_internal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typedef struct LogicalRepWorker
4646
} LogicalRepWorker;
4747

4848
/* Memory context for cached variables in apply worker. */
49-
MemoryContext ApplyCacheContext;
49+
extern MemoryContext ApplyCacheContext;
5050

5151
/* libpqreceiver connection */
5252
extern struct WalReceiverConn *wrconn;

0 commit comments

Comments
 (0)