| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> |
| Cc: | "Mendola Gaetano" <mendola(at)bigfoot(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Qualified tables in error messages |
| Date: | 2003-08-20 17:21:51 |
| Message-ID: | 9909.1061400111@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> 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
This doesn't conform to the message style guidelines we agreed to,
which specify quoting of user identifiers in messages. I think the
guidelines are correct on this point --- consider for instance
table exists does not exist
which could easily be a tad confusing...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2003-08-20 17:41:09 | Re: "SELECT IN" Still Broken in 7.4b |
| Previous Message | Harald Fuchs | 2003-08-20 17:20:27 | Re: Need concrete "Why Postgres not MySQL" bullet list |