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)
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 );
Original file line number Diff line number Diff line change @@ -150,4 +150,6 @@ extern bool is_builtin(Oid objectId);
150150extern bool is_shippable (Oid objectId , Oid classId , PgFdwRelationInfo * fpinfo );
151151extern const char * get_jointype_name (JoinType jointype );
152152
153+ extern bool UseTsDtmTransactions ;
154+
153155#endif /* POSTGRES_FDW_H */
You can’t perform that action at this time.
0 commit comments