[postgis-tickets] [PostGIS] #2592: AddNode(atopology, apoint) redundant
PostGIS
trac at osgeo.org
Tue Jan 28 10:56:05 PST 2014
#2592: AddNode(atopology, apoint) redundant
----------------------+-----------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: low | Milestone: PostGIS 2.2.0
Component: topology | Version: 2.1.x
Keywords: |
----------------------+-----------------------------------------------------
Comment(by strk):
That's the result of my lazy way to deal with upgrades.
Adding an optional parameter doesn't replace the old signature, so in
order to do a clean upgrade you'd have to _drop_ the previous, which is
not something you do in an install file.
When I'm willing to provide a single .sql to do both install and upgrade
(because I'm lazy) that's what I do: never drop any signature, and if I
need more parameters keep the old one as wrappers that call the new one
passing the defaults. This has been working since PostGIS-1.0 against
PostgreSQL 6.X ...
Keep it simple!
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2592#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list