[GRASS5] [bug #2817] (grass) v.to.db: say what "Database connection not defined for field <1>" means

this bug's URL: http://intevation.de/rt/webrt?serial_num=2817
-------------------------------------------------------------------------

In v.to.db/description.html why don't you add:

If you get
  ERROR: Database connection not defined for field <1>
then you should do [...........]

--- Headers Follow ---

From jidanni@jidanni.org Thu Dec 9 00:15:35 2004

Return-Path: <jidanni@jidanni.org>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id D37A5102C35
  for <grass-bugs@lists.intevation.de>; Thu, 9 Dec 2004 00:15:35 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id A98F036CE0
  for <grass-bugs@lists.intevation.de>; Thu, 9 Dec 2004 00:15:35 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
  by mail.intevation.de (Postfix) with ESMTP id B3C9636CD8
  for <grass-bugs@intevation.de>; Thu, 9 Dec 2004 00:15:34 +0100 (CET)
Received: from [219.69.72.86] (port=32784 helo=jidanni1)
  by frodo.hserus.net with esmtpsa
  (Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
  id 1CcB1w-0003gK-Pg by authid <jidanni> with plain
  for <grass-bugs@intevation.de>; Thu, 09 Dec 2004 04:45:33 +0530
To: grass-bugs@intevation.de
Subject: v.to.db: say what "Database connection not defined for field <1>"
means
From: Dan Jacobson <jidanni@jidanni.org>
Date: Thu, 09 Dec 2004 06:19:05 +0800
Message-ID: <87is7cxwkm.fsf@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker

On Thu, Dec 09, 2004 at 12:15:36AM +0100, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2817
-------------------------------------------------------------------------

In v.to.db/description.html why don't you add:

If you get
  ERROR: Database connection not defined for field <1>
then you should do [...........]

For now I have extended the error message to

grass57/vector/v.to.db > grep 'Database connection not defined' *
query.c: G_fatal_error("Database connection not defined for field <%d>. Use v.db.connect first.", options.qfield);
update.c: G_fatal_error("Database connection not defined for field <%d>. Use v.db.connect first.", options.field);

Markus