2017-05-16 22:18:42 +08:00
|
|
|
\set ECHO none
|
|
|
|
\set VERBOSITY verbose
|
|
|
|
SET client_min_messages TO error;
|
|
|
|
|
2020-02-27 23:06:30 +08:00
|
|
|
-- add the schema cdb_dataservices_server to the SEARCH_PATH
|
|
|
|
DO $$ BEGIN
|
|
|
|
PERFORM set_config('search_path', current_setting('search_path')||', cdb_dataservices_server', false);
|
|
|
|
END $$;
|
|
|
|
|
2017-05-16 22:18:42 +08:00
|
|
|
-- Set configuration for a user 'foo'
|
|
|
|
DO $$
|
|
|
|
import cartodb_services
|
|
|
|
cartodb_services.init(plpy, GD)
|
|
|
|
|
2020-02-24 23:12:27 +08:00
|
|
|
$$ LANGUAGE @@plpythonu@@;
|