[fdo-internals] RE: Defects in PostGIS provider

Haris Kurtagic haris at sl-king.com
Fri Aug 24 02:08:59 EDT 2007


Hm, If I am looking in database behavior it would be normal to delete
class/table if data is in the class/table.

So in my opinion it is expected behavior to be able to delete class
regardless of data in it.

Haris

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Greg Boone
Sent: Thursday, August 23, 2007 4:48 PM
To: FDO Internals Mail List
Subject: RE: [fdo-internals] RE: Defects in PostGIS provider

I have verified the expected behavior with my colleagues and class
delete should indeed fail if the corresponding table has data. 

If you are successfully deleting tables with data, via ApplySchema, then
this would be a bug.

There's one obscure case where a class delete would succeed if the table
is not empty. If the class was latched into a pre-existing table
(through schema overrides), when it is created, the class can be
deleted. However, in this case, the provider would not drop the table.

Greg

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Chuck Wilbur
Sent: Wednesday, August 22, 2007 5:38 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] RE: Defects in PostGIS provider


> If data is present the ApplySchema should fail

Thanks for the clarification, Greg. This is an off-topic tangent, but I
don't believe I've had any trouble deleting classes with features in
them
with either of the providers I've tested against (Autodesk's Oracle
provider
and OSGeo's MySQL provider).
-- 
View this message in context:
http://www.nabble.com/Defects-in-PostGIS-provider-tf4313206s18162.html#a
12283452
Sent from the fdo-internals mailing list archive at Nabble.com.

_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals

_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list