BUG #9045: Misleading error message needs changed

From: scratch65535(at)att(dot)net
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #9045: Misleading error message needs changed
Date: 2014-01-30 21:36:44
Message-ID: 20140130213644.13610.53537@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 9045
Logged by: Margaret
Email address: scratch65535(at)att(dot)net
PostgreSQL version: 9.2.4
Operating system: FreeBSD 9.2
Description:

When running osm2pgsql to populate a database with postgis data, if the
tables do not exist a misleading error msg is put out, causing the user to
believe some important part of the operation has failed.

The message says

"NOTICE: Table [name] does not exist, skipping"

What it should say, if it says anything, is something on the order of

"NOTICE: DROP TABLE [name] not needed: table does not exist"

followed by a "NOTICE: CREATE TABLE [name] succeeded" after the create

because what's being skipped is the (non)existing table's deletion, not
processing as the message implied.

Browse pgsql-bugs by date

  From Date Subject
Next Message lr 2014-01-31 00:31:59 BUG #9046: vacuum analyze fails on a table that has domain that is a date rage
Previous Message Tom Lane 2014-01-30 18:41:54 Re: BUG #9041: Strange error message with LATERAL and mixed WHERE/ON conditions