[postgis-devel] Deprecation Warnings
Kevin Neufeld
kneufeld at refractions.net
Fri Jan 23 12:59:45 PST 2009
What if we deprecate the functions as you suggest (and eventually remove them), but provide a sql script that will
reinstate them as wrappers to the ST_* methods. That way, folks can have their cake and eat it too ... upgrade to the
latest version without breaking their apps.
-- Kevin
Paul Ramsey wrote:
> Could we use the function creation option
>
> SET configuration_parameter { TO value | = value | FROM CURRENT }
>
> to, for example, set postgis_deprecated to true?
> Then in the function, we could warn on deprecation. So the same
> backend to intersects() could be used by several function names, but
> only some would raise deprecation warnings.
>
> Or do we want to continue our gentle regime of letting the old names
> live in quite obscurity?
>
> P.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
More information about the postgis-devel
mailing list