Re: Qualified tables in error messages - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Qualified tables in error messages
Date
Msg-id 006001c366b9$18416e30$2800a8c0@mars
Whole thread Raw
In response to Qualified tables in error messages  (Rod Taylor <rbt@rbt.ca>)
Responses Re: Qualified tables in error messages
List pgsql-hackers
> "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> > ERROR: table "schema"."foo" does not exist
> >
> > which is just plain ugly.

Why not wrap all 'identifier' outputs in a call to the quoting function, so
the above message would in fact appear as:

table schema.foo does not exist

but with a space in it it would appear like this:

table "schema 2".foo does not exist

Chris



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Networking in 7.4?
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Networking in 7.4?