BUG #9045: Misleading error message needs changed - Mailing list pgsql-bugs

From scratch65535@att.net
Subject BUG #9045: Misleading error message needs changed
Date
Msg-id 20140130213644.13610.53537@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      9045
Logged by:          Margaret
Email address:      scratch65535@att.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.

pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: BUG #9050: pg_stat_statements() contains rows with the same dbid, userid and query
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd