Skip to content

Commit

Permalink
opmimize
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 30, 2024
1 parent e41ea95 commit f64447a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/diskquota_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,10 +1236,8 @@ set_per_segment_quota(PG_FUNCTION_ARGS)
int
worker_spi_get_extension_version(int *major, int *minor)
{
int ret;
int state = SPI_connect_wrapper();

ret = SPI_execute("select extversion from pg_extension where extname = 'diskquota'", true, 0);
int ret = SPI_execute("select extversion from pg_extension where extname = 'diskquota'", true, 0);

if (SPI_processed == 0)
{
Expand Down

0 comments on commit f64447a

Please sign in to comment.