Reorganisation

This commit is contained in:
Guido Fioravantti
2015-11-06 18:23:47 +01:00
parent d772033b45
commit 38e84201cb
11 changed files with 16 additions and 0 deletions
@@ -0,0 +1,6 @@
-- Install dependencies
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION plpythonu;
-- Install the extension
CREATE EXTENSION cdb_geocoder_server;
@@ -0,0 +1,14 @@
-- Check that check_host is working
select cdb_geocoder_server._check_host('cartodb.com');
_check_host
-------------
t
(1 row)
-- Check that check_pwd is working
select cdb_geocoder_server._pwd();
_pwd
------------------------------
/var/lib/postgresql/9.3/main
(1 row)