id summary reporter owner description type status priority milestone component version severity resolution keywords cc external_id 106 PostGIS provider cannot delete a feature class cwilbur mloskot "Using an {{{FdoFeatureSchema pSchema}}} from the connection's schema collection, the following code should drop the feature class table (and the associated feature id sequence, if any): {{{ // remove the class from the schema FdoPtr pClassColl = pSchema->GetClasses(); FdoPtr pClass = pClassColl->FindItem(strFullClassName); if ( pClass ) { pClass->Delete(); // Create the ApplySchema command FdoPtr pApplySchemaCmd = dynamic_cast( m_connection->CreateCommand(FdoCommandType_ApplySchema) ); // Set the schema and execute the apply schema command pApplySchemaCmd->SetFeatureSchema(pSchema); pApplySchemaCmd->Execute(); } }}} Whether the table needs to be empty seems to be under some debate currently. Regardless, the PostGIS provider does not possess this functionality at all." defect closed major 3.4.0 PostGIS Provider 3.2.0 3 fixed jbirch