Skip to content

Commit

Permalink
warn
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 28, 2024
1 parent 1701482 commit ce6fc81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/diskquota_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ SPI_finish_my(bool connected, bool pushed_active_snap, bool ret)
int rc;
if (pushed_active_snap) PopActiveSnapshot();
if (connected && (rc = SPI_finish()) != SPI_OK_FINISH)
ereport(ERROR, (errcode(ERRCODE_INTERNAL_ERROR), errmsg("[diskquota] SPI_finish failed"),
ereport(WARNING, (errcode(ERRCODE_INTERNAL_ERROR), errmsg("[diskquota] SPI_finish failed"),
errdetail("%s", SPI_result_code_string(rc))));
if (ret)
CommitTransactionCommand();
Expand Down
2 changes: 1 addition & 1 deletion src/quotamodel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ flush_to_table_size(void)
}
}
/* update the table size by delete+insert in table table_size */
else if (TableSizeEntryGetFlushFlag(tsentry, i)) //
else if (TableSizeEntryGetFlushFlag(tsentry, i))
{
appendStringInfo(&delete_statement, "%s(%u,%d)", (delete_entries_num == 0) ? " " : ", ",
tsentry->key.reloid, i);
Expand Down

0 comments on commit ce6fc81

Please sign in to comment.