File: pg_sphere--1.5.0--1.5.1.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 (11 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
-- Upgrade: 1.5.0 -> 1.5.1

DO $$
BEGIN
   ALTER OPERATOR FAMILY spoint USING gist ADD
      OPERATOR 17 <-> (spoint, spoint) FOR ORDER BY float_ops;
EXCEPTION
   WHEN duplicate_object THEN NULL;
   WHEN OTHERS THEN RAISE;
END;
$$;