File: pgs_gist_support.sql.in

package info (click to toggle)
pgsphere 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,220 kB
  • sloc: ansic: 13,926; sql: 6,895; cpp: 853; makefile: 278; perl: 168; yacc: 145; python: 106; lex: 55; xml: 51; sh: 1
file content (12 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
-- PG12+ has support functions

CREATE FUNCTION spoint_dwithin_supportfn (internal)
        RETURNS internal
        AS 'MODULE_PATHNAME', 'spherepoint_dwithin_supportfn'
        LANGUAGE 'c';

COMMENT ON FUNCTION spoint_dwithin_supportfn(internal) IS
   'support function for spoint_dwithin';

ALTER FUNCTION spoint_dwithin(spoint, spoint, float8)
   SUPPORT spoint_dwithin_supportfn;