From e8ce908d6ba76a3042478d104c4c83eafde5b678 Mon Sep 17 00:00:00 2001 From: Georgy Shelkovy Date: Fri, 17 Nov 2023 17:55:45 +0500 Subject: [PATCH] format --- src/diskquota_utility.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/diskquota_utility.c b/src/diskquota_utility.c index 41455966..b645d339 100644 --- a/src/diskquota_utility.c +++ b/src/diskquota_utility.c @@ -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[]){