Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#861 closed enhancement (fixed)

DropGeometryTable should not raise exception if no geometry column

Reported by: aperi2007 Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: history Cc:

Description

Actually the DropGeometryTable raise an exception if the table has no geometry column.

This patch avoid this exception. So the DropGeometryTable() drop always the table if there isn't object dependent from it.

Attachments (1)

patch.zip (353 bytes ) - added by aperi2007 14 years ago.
Patch to avoid exception if no geometry column

Download all attachments as: .zip

Change History (5)

by aperi2007, 14 years ago

Attachment: patch.zip added

Patch to avoid exception if no geometry column

comment:1 by aperi2007, 14 years ago

Hi, this patch for avoid the exception to DropGeometryTable() is ok ?

comment:2 by strk, 14 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:3 by strk, 14 years ago

Resolution: fixed
Status: assignedclosed

r7014, includes testcase

comment:4 by robe, 14 years ago

Keywords: history added
Note: See TracTickets for help on using tickets.