[GRASSLIST:5737] Re: Grass 6.0 and PG Database - tables not being deleted when vectors g.removed
Kirk R. Wythers
kwythers at umn.edu
Fri Feb 11 11:11:08 EST 2005
On Feb 11, 2005, at 8:47 AM, Radim Blazek wrote:
> g.remove (db_table_exists) was using fully qualified names
> (table.schema ->public.fmacopy) so it could not find fmacopy.
> I have fixed that so that if the input table name is fully qualified,
> db_table_exists checks full name otherwise only table.
>
> I am not sure if it is the best solution, unfortunately we don't have
> enough experience with schemas. The table with the same name can be in
> other schema.
>
> I think that it is better to use db.connect schema=, even if you use
> only public.
>
> Radim
Along these same lines... how are database table names, column names,
and vector layers related? For example, I want to add a layer to to a
vector file, should that be done through db.connect?
More information about the grass-user
mailing list