2016-02-24 00:54:17 +08:00
|
|
|
-- Check for routing point to point 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_route_point_to_point'
|
2018-09-06 18:46:12 +08:00
|
|
|
AND oidvectortypes(p.proargtypes) = 'text, text, text, geometry, geometry, text, text[], text');
|
2016-02-24 00:54:17 +08:00
|
|
|
|
2016-05-23 23:26:43 +08:00
|
|
|
-- Check for routing waypoint route 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_route_with_waypoints'
|
2018-09-06 18:46:12 +08:00
|
|
|
AND oidvectortypes(p.proargtypes) = 'text, text, text, geometry[], text, text[], text');
|