Ticket #1401 (closed task: fixed)

Opened 17 months ago

Last modified 16 months ago

Deprecate getSRID function

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: build/upgrade/install Version: trunk
Keywords: Cc:

Description

getSRID was never deprecated. availability of st_srid is undocumented in the postgis.sql file. Any archeologist around ?

Change History

Changed 17 months ago by robe

  • status changed from new to closed
  • resolution set to fixed

It was never documented either or not recently anyway and never seen anyone use it on mail lists so I doubt anyone relies on it. I've removed at r8815.

Changed 17 months ago by strk

r8837 adds the drop in postgis_drop.sql as well.

Changed 17 months ago by robe

postgis_drop.sql always drops on upgrade/new, so it should not be added to that one. If someone installs legacy because for some reason they need this function, they don't expect it to disappear again when they upgrade. Please revert this change.

Changed 16 months ago by strk

Oh, so anything in legacy.sql should remain on upgrades ? Both soft and hard ?

"New" is new, shouldn't drop anything at all, theoretically. Right ?

Anyway, reverted in r8852

Changed 16 months ago by robe

Correct and if people really want to get rid of legacy stuff we clared out in interim and don't want to do a dump reload, they just run the uninstall legacy script.

Note: See TracTickets for help on using tickets.