Skip to content

Commit

Permalink
Use separate list to track pending deletes for TSQL ENR entries.
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Teng <[email protected]>
  • Loading branch information
Jason Teng committed Sep 25, 2024
1 parent 38259e3 commit cb87bd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/babelfishpg_tsql/src/pl_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "catalog/pg_type.h"
#include "catalog/pg_default_acl.h"
#include "catalog/pg_shdepend.h"
#include "catalog/storage.h"
#include "commands/createas.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
Expand Down Expand Up @@ -6495,6 +6496,7 @@ pltsql_remove_current_query_env(void)
AbortCurTransaction = false;

ENRDropTempTables(currentQueryEnv);
smgrDoPendingDeletes(!old_abort_curr_txn, true);
}
PG_FINALLY();
{
Expand Down

0 comments on commit cb87bd0

Please sign in to comment.