[postgis-devel] Re: sql files proliferation

Paul Ramsey pramsey at refractions.net
Thu Feb 26 10:09:28 PST 2004


I wonder if we can use cpp and simple #ifdef stuff to do the 
preprocessing. Would be nice.
P.

strk wrote:

> The postgis*sql* files are becoming a major part
> of the distribution (as number of files).
> What about having a single sql for each postgres version ?
> Or - better - use some preprocessing to keep in common
> things that are common and spilt things that need to be
> splitted ?
> 
> I need to move geometry_column creation out of _common_
> into each of version-specific files because for PG75 there
> is no need of attrelid oid, varattnum int and stats histogram2d;
> this already happended for schema support changes (addGeometryColumn,
> dropGeoemtryColumn, fix_geometry_columns) and is getting boring.
> 
> --strk;


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the postgis-devel mailing list