Initial cdb_geocoder_server commit
This commit is contained in:
14
server/expected/00_install_test.out
Normal file
14
server/expected/00_install_test.out
Normal file
@@ -0,0 +1,14 @@
|
||||
-- Install dependencies
|
||||
CREATE EXTENSION postgis;
|
||||
CREATE EXTENSION schema_triggers;
|
||||
CREATE EXTENSION plpythonu;
|
||||
CREATE EXTENSION cartodb;
|
||||
-- Install the extension
|
||||
CREATE EXTENSION cdb_geocoder_server;
|
||||
-- Mock the varnish invalidation function
|
||||
CREATE OR REPLACE FUNCTION public.cdb_invalidate_varnish(table_name text) RETURNS void AS $$
|
||||
BEGIN
|
||||
RETURN;
|
||||
END
|
||||
$$
|
||||
LANGUAGE plpgsql;
|
||||
14
server/expected/10_helper_test.out
Normal file
14
server/expected/10_helper_test.out
Normal file
@@ -0,0 +1,14 @@
|
||||
-- Check that check_host is working
|
||||
select check_host('cartodb.com');
|
||||
check_host
|
||||
------------
|
||||
t
|
||||
(1 row)
|
||||
|
||||
-- Check that check_pwd is working
|
||||
select pwd();
|
||||
pwd
|
||||
------------------------------
|
||||
/var/lib/postgresql/9.3/main
|
||||
(1 row)
|
||||
|
||||
Reference in New Issue
Block a user