Guys, while testing SQL functions addition in postgis I found that the postgis_upgrade.sql contains a couple of CREATE TYPE calls which prevent it from succeeding when the types are already there. Is it a known bug ? --strk; Free GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple!