[postgis-users] PostGIS 2.0.0beta3

Paul Ramsey pramsey at opengeo.org
Wed Mar 14 14:46:24 PDT 2012

On Wed, Mar 14, 2012 at 2:41 PM, Andy Colson <andy at squeakycode.net> wrote:
> ... and GeomFromText became ST_GeomFromText ...  Why did some drop the ST_
> and some have it added?

The external spatial functions got them added, so all match up to the
standards base. The internal functions, used for casts got them
stripped to match PostgreSQL convention: newtype(oldtype) is the
PostgreSQL standard casting function signature. There are some other
even more internal functions (type_in(), type_out()) that you don't
see or use that also had their st_ prefixes stripped. They really
should never have had them added in the first place.


More information about the postgis-users mailing list