From 2b6982394933f44ceb6323482fa8c52e79a27381 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Mon, 13 Jun 2016 10:39:05 +0200 Subject: [PATCH] :lipstick: indent/parenthesize for clarity --- scripts-available/CDB_Quota.sql | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts-available/CDB_Quota.sql b/scripts-available/CDB_Quota.sql index 0f70d1e..aeda2d3 100644 --- a/scripts-available/CDB_Quota.sql +++ b/scripts-available/CDB_Quota.sql @@ -35,9 +35,11 @@ BEGIN table_cat AS ( SELECT table_name, - EXISTS(select * from raster_tables where o_table_name = table_name) - OR table_name SIMILAR TO _CDB_OverviewTableDiscriminator() || '[\w\d]*' - AS is_overview, + ( + EXISTS(select * from raster_tables where o_table_name = table_name) + OR + table_name SIMILAR TO _CDB_OverviewTableDiscriminator() || '[\w\d]*' + ) AS is_overview, EXISTS(SELECT * FROM raster_tables WHERE r_table_name = table_name) AS is_raster FROM user_tables ),