[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-devel
Subject:    [postgis-devel] {Add,Drop}GeometryColumn wrappers
From:       strk <strk () keybit ! net>
Date:       2004-03-22 9:44:24
Message-ID: 20040322104424.A23810 () freek ! keybit ! net
[Download RAW message or body]


I've made a cleanup of the postgis.sql.in code, removing
the AddGeometryColumn and DropGeometryColumn repetitions.
Now the definitions are unique, while the specific parts
which are different from pgsql version to version are
handled with an small cpp conditional block.

I profited of the cleanup to add a cople of wrappers to both 
functions:

ADDGEOMETRYCOLUMN ( <table>, <column>, <srid>, <type>, <dim> )
DROPGEOMETRYCOLUMN ( <table>, <column> )

Note that I've also added a:

DROPGEOMETRYCOLUMN ( <catalog>, <schema>, <table>, <column> )

All changes are in postgis_new.sql (built from postgis.sql.in)

--strk;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic