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

Commit dc5f8c0

Browse files
committed
new makeDefElem
1 parent 3db4f66 commit dc5f8c0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

arbiter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "postgres.h"
2222
#include "fmgr.h"
2323
#include "miscadmin.h"
24-
#include "pg_socket.h"
24+
#include "common/pg_socket.h"
2525
#include "postmaster/postmaster.h"
2626
#include "postmaster/bgworker.h"
2727
#include "storage/s_lock.h"

pglogical_config.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "utils/builtins.h"
2626
#include "utils/int8.h"
2727
#include "utils/inval.h"
28+
#include "utils/varlena.h"
2829
#include "utils/lsyscache.h"
2930
#include "utils/memutils.h"
3031
#include "utils/rel.h"
@@ -392,19 +393,19 @@ parse_param_uint32(DefElem *elem)
392393
static List*
393394
add_startup_msg_s(List *l, char *key, char *val)
394395
{
395-
return lappend(l, makeDefElem(key, (Node*)makeString(val)));
396+
return lappend(l, makeDefElem(key, (Node*)makeString(val), 0));
396397
}
397398

398399
static List*
399400
add_startup_msg_i(List *l, char *key, int val)
400401
{
401-
return lappend(l, makeDefElem(key, (Node*)makeString(psprintf("%d", val))));
402+
return lappend(l, makeDefElem(key, (Node*)makeString(psprintf("%d", val)), 0));
402403
}
403404

404405
static List*
405406
add_startup_msg_b(List *l, char *key, bool val)
406407
{
407-
return lappend(l, makeDefElem(key, (Node*)makeString(val ? "t" : "f")));
408+
return lappend(l, makeDefElem(key, (Node*)makeString(val ? "t" : "f"), 0));
408409
}
409410

410411
/*

0 commit comments

Comments
 (0)