dataservices-api/server/extension/test/sql/85_isodistance_test.sql
2018-09-06 12:46:12 +02:00

8 lines
370 B
SQL

-- 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'
AND oidvectortypes(p.proargtypes) = 'text, text, text, geometry, text, integer[], text[]');