File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3951,7 +3951,7 @@ postgres_fdw_exec(PG_FUNCTION_ARGS)
3951
3951
ForeignTable * table = GetForeignTable (relid );
3952
3952
ForeignServer * server = GetForeignServer (table -> serverid );
3953
3953
UserMapping * user = GetUserMapping (userid , server -> serverid );
3954
- PGconn * conn = GetConnection (server , user , false);
3954
+ PGconn * conn = GetConnection (user , false);
3955
3955
PGresult * res = PQexec (conn , sql );
3956
3956
3957
3957
PQclear (res );
Original file line number Diff line number Diff line change @@ -150,4 +150,6 @@ extern bool is_builtin(Oid objectId);
150
150
extern bool is_shippable (Oid objectId , Oid classId , PgFdwRelationInfo * fpinfo );
151
151
extern const char * get_jointype_name (JoinType jointype );
152
152
153
+ extern bool UseTsDtmTransactions ;
154
+
153
155
#endif /* POSTGRES_FDW_H */
You can’t perform that action at this time.
0 commit comments