Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Nov 17, 2023
1 parent 0fd4b6b commit e8ce908
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/diskquota_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -1307,10 +1307,12 @@ get_rel_oid_list(bool is_init)

#define SELECT_FROM_PG_CATALOG_PG_CLASS \
"select oid from pg_catalog.pg_class where oid >= $1 and (relkind='r' or relkind='m')"
#define SELECT_FROM_DISKQUOTA_TABLE_SIZE "select tableid from diskquota.table_size where segid = -1"
#define SELECT_FROM_DISKQUOTA_TABLE_SIZE \
"select tableid from diskquota.table_size where segid = -1"

ret = SPI_execute_with_args(is_init ? SELECT_FROM_PG_CATALOG_PG_CLASS
" union distinct " SELECT_FROM_DISKQUOTA_TABLE_SIZE
" union distinct "
SELECT_FROM_DISKQUOTA_TABLE_SIZE
: SELECT_FROM_PG_CATALOG_PG_CLASS,
1,
(Oid[]){
Expand Down

0 comments on commit e8ce908

Please sign in to comment.