'GEOMETRY_COLUMNS' table during table drop instead of DropGeometryColumns.
Patch submitted by Steffen Macke <sdteffen@yahoo.com>.
git-svn-id: http://svn.osgeo.org/postgis/trunk@127
b70326c6-7e19-0410-871a-
916f4a2858ee
if(opt == 'd'){
//-------------------------Drop the table--------------------------------
//drop the table given
- printf("select DropGeometryColumn('%s','%s','the_geom');",database,table);
+ printf("delete from geometry_columns where f_table_name = '%s';\n",table);
printf("\ndrop table %s;\n",table);