💄 indent/parenthesize for clarity

This commit is contained in:
Javier Goizueta 2016-06-13 10:39:05 +02:00
parent 1f01ecae30
commit 2b69823949

View File

@ -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,
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
),