Ticket #1121 (closed defect: fixed)

Opened 23 months ago

Last modified 13 months ago

populate_geometry_columns using deprecated functions

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 1.5.4
Component: postgis Version: 1.5.X
Keywords: Cc:

Description

We had fixed this in 2.0, but 1.5 still uses deprecated functions ndims and srid

Change History

Changed 23 months ago by robe

  • owner changed from pramsey to robe

Changed 13 months ago by robe

  • priority changed from medium to blocker

I think this one is an important one to fix before release. Will do later today. This one creates invalid constraints that don't load into PostGIS 2.0.0 cleanly without legacy install as I recall.

Changed 13 months ago by robe

  • owner changed from robe to pramsey

Fixed at r9707

I added a regression test for this as well more or less copied from 2.0 branch. I also revised DropGeometryColumns? to use DROP TABLE IF EXISTS instead of DROP TABLE. Our minimum for 1.5 is 8.3 and DROP TABLE IF EXISTS has been supported since 8.2

The only thing left is to add this new test to regress/Makefile.in

Paul, can you do that for me?

I'm afraid to commit my version of the file since mine is a hacked up version because of issues I described in #1794

Changed 13 months ago by pramsey

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

Patched into the regress/Makefile.in at r9708

Note: See TracTickets for help on using tickets.