Add tests for the OverviewsApi

This commit is contained in:
Javier Goizueta
2016-01-21 13:33:45 +01:00
parent 87bffb9657
commit 532654eea8
3 changed files with 134 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ CREATE OR REPLACE FUNCTION CDB_Overviews(table_name text)
RETURNS TABLE(z integer, overview_table text)
AS $$
BEGIN
IF table_name = 'test_table_overviews' THEN
IF table_name = 'public.test_table_overviews' THEN
RETURN QUERY
SELECT 1 AS z, 'test_table_overviews_ov1'::text AS overviw_table
UNION ALL