[postgis-devel] DropGeometryTable should not raise exception

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Thu Mar 17 11:45:10 PDT 2011


On 17/03/11 18:35, Sandro Santilli wrote:

>> I like to suggest a change to the
>> DropGeometryTable function.
>>
>> I guess it should not raise an exception if the table has not geometric
>> table. Instead it should drop it silently.

I'd say a WARNING would be better, since if someone has tried to drop a 
geometry column which doesn't exist then something has already gone 
wrong and we should alert the user to this.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the postgis-devel mailing list