Skip to content

Commit

Permalink
context
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 28, 2024
1 parent f5fd4ce commit 865f9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diskquota_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ get_rel_oid_list(bool is_init)
if (!isnull)
{
List *indexIds;
MemoryContext oldcontext = MemoryContextSwitchTo(TopMemoryContext);
MemoryContext oldcontext = MemoryContextSwitchTo(CurTransactionContext);
oidlist = lappend_oid(oidlist, oid);
indexIds = diskquota_get_index_list(oid);
if (indexIds != NIL)
Expand Down

0 comments on commit 865f9f8

Please sign in to comment.