Skip to content

Commit a6f1b55

Browse files
committed
Fix build problems
1 parent 7764ed7 commit a6f1b55

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contrib/postgres_fdw/postgres_fdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3951,7 +3951,7 @@ postgres_fdw_exec(PG_FUNCTION_ARGS)
39513951
ForeignTable *table = GetForeignTable(relid);
39523952
ForeignServer *server = GetForeignServer(table->serverid);
39533953
UserMapping *user = GetUserMapping(userid, server->serverid);
3954-
PGconn *conn = GetConnection(server, user, false);
3954+
PGconn *conn = GetConnection(user, false);
39553955
PGresult *res = PQexec(conn, sql);
39563956

39573957
PQclear(res);

contrib/postgres_fdw/postgres_fdw.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,6 @@ extern bool is_builtin(Oid objectId);
150150
extern bool is_shippable(Oid objectId, Oid classId, PgFdwRelationInfo *fpinfo);
151151
extern const char *get_jointype_name(JoinType jointype);
152152

153+
extern bool UseTsDtmTransactions;
154+
153155
#endif /* POSTGRES_FDW_H */

0 commit comments

Comments
 (0)