Enable running all tests via "installcheck"

NOTE: also makes CDB_TableMetadata triggers still functional
      when user quota and varnish invalidation functions are missing
      from the database (currently installed by cartodb ruby)
This commit is contained in:
Sandro Santilli
2014-05-06 10:18:38 +02:00
parent 82c8259de6
commit 15740f2ef6
10 changed files with 81 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ AS $$
'spatial_ref_sys'
)
), perms AS (
SELECT t, has_table_privilege('publicuser', 'public.'||t, 'SELECT') as p
SELECT t, has_table_privilege('publicuser', t, 'SELECT') as p
FROM usertables
)
SELECT t FROM perms