2016-02-11 00:17:53 +08:00
|
|
|
-- Check for isodistance signatures
|
|
|
|
SELECT exists(SELECT *
|
|
|
|
FROM pg_proc p
|
|
|
|
INNER JOIN pg_namespace ns ON (p.pronamespace = ns.oid)
|
|
|
|
WHERE ns.nspname = 'cdb_dataservices_server'
|
|
|
|
AND proname = 'cdb_isodistance'
|
2016-02-11 05:26:32 +08:00
|
|
|
AND oidvectortypes(p.proargtypes) = 'text, text, geometry, text, integer[], text[]');
|
|
|
|
exists
|
|
|
|
--------
|
|
|
|
t
|
|
|
|
(1 row)
|
|
|
|
|