2016-01-22 17:55:07 +08:00
|
|
|
CREATE OR REPLACE FUNCTION <%= GEOCODER_CLIENT_SCHEMA %>._<%= name %> (username text, organization_name text, <%= params_with_type_and_default %>)
|
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-12-03 18:03:10 +08:00
|
|
|
SELECT cdb_geocoder_server.<%= name %> (username, organization_name, <%= params %>);
|
2015-11-18 22:14:08 +08:00
|
|
|
$$ LANGUAGE plproxy;
|
2015-11-23 20:03:37 +08:00
|
|
|
|