2015-11-20 17:51:19 +08:00
|
|
|
CREATE OR REPLACE FUNCTION <%= GEOCODER_CLIENT_SCHEMA %>._<%= name %> (user_id name, user_config JSON, geocoder_config JSON, <%= params_with_type %>)
|
2015-11-19 22:44:51 +08:00
|
|
|
RETURNS <%= return_type %> AS $$
|
2015-11-18 22:14:08 +08:00
|
|
|
CONNECT <%= GEOCODER_CLIENT_SCHEMA %>._server_conn_str();
|
2015-11-20 17:51:19 +08:00
|
|
|
SELECT cdb_geocoder_server.<%= name %> (user_id, user_config, geocoder_config, <%= params %>);
|
2015-11-18 22:14:08 +08:00
|
|
|
$$ LANGUAGE plproxy;
|