[GRASS-dev] drop table and dblink

Moritz Lennert mlennert at club.worldonline.be
Fri Feb 15 03:35:13 PST 2013


On 14/02/13 14:26, Luca Delucchi wrote:
> Hi all,
> I'm doing some tests about how GRASS is working with vector and tables.
> When I try to remove a table with db.droptable and the table is
> connected with a vector it return a warning and only using -f flag I
> can remove the table.
> The problem for my point of view is that the dblink is not
> updated/removed after I removed the table. Is it a bug or a feature?

Probably db.droptable should refuse to drop the table and tell the user 
to use v.db.connect -d to disconnect the table from the map.

Moritz


More information about the grass-dev mailing list