Re: Qualified tables in error messages

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Mendola Gaetano" <mendola(at)bigfoot(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Qualified tables in error messages
Date: 2003-08-20 01:19:11
Message-ID: 006001c366b9$18416e30$2800a8c0@mars
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-08-20 01:20:45 Re: Networking in 7.4?
Previous Message Matthew T. O'Connor 2003-08-19 23:56:08 Re: postmaster(s) have high load average