adding fixture processing scripts to test
This commit is contained in:
parent
48fd02c689
commit
f91c540bc3
@ -1,8 +1,11 @@
|
|||||||
SELECT set_config(
|
SELECT set_config(
|
||||||
'search_path',
|
'search_path',
|
||||||
current_setting('search_path') || ',cdb_observatory',
|
current_setting('search_path') || ',cdb_observatory,observatory',
|
||||||
false
|
false
|
||||||
) WHERE current_setting('search_path') !~ '(^|,)cdb_observatory(,|$)';
|
) WHERE current_setting('search_path') !~ '(^|,)(cdb_observatory|observatory)(,|$)';
|
||||||
|
|
||||||
|
\i test/sql/02_load_fixtures.sql
|
||||||
|
|
||||||
|
|
||||||
-- OBS_GeomTable
|
-- OBS_GeomTable
|
||||||
-- get table with known geometry_id
|
-- get table with known geometry_id
|
||||||
@ -48,3 +51,5 @@ SELECT
|
|||||||
cdb_observatory.OBS_BuildSnapshotQuery(
|
cdb_observatory.OBS_BuildSnapshotQuery(
|
||||||
Array['total_pop','male_pop','female_pop','median_age']
|
Array['total_pop','male_pop','female_pop','median_age']
|
||||||
);
|
);
|
||||||
|
|
||||||
|
\i test/sql/03_drop_fixtures.sql
|
Loading…
Reference in New Issue
Block a user