postgresql/contrib/earthdistance/uninstall_earthdistance.sql
Bruce Momjian 926bbab448 Make /contrib install/uninstall script consistent:
remove transactions
	use create or replace function
	make formatting consistent
	set search patch on first line

Add documentation on modifying *.sql to set the search patch, and
mention that major upgrades should still run the installation scripts.

Some of these issues were spotted by Tom today.
2007-11-11 03:25:35 +00:00

25 lines
477 B
SQL

-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR <@> (point, point);
DROP FUNCTION geo_distance (point, point);
DROP FUNCTION earth_box(earth, float8);
DROP FUNCTION earth_distance(earth, earth);
DROP FUNCTION longitude(earth);
DROP FUNCTION latitude(earth);
DROP FUNCTION ll_to_earth(float8, float8);
DROP FUNCTION gc_to_sec(float8);
DROP FUNCTION sec_to_gc(float8);
DROP DOMAIN earth;
DROP FUNCTION earth();