Qualified tables in error messages

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Qualified tables in error messages
Date: 2003-08-18 19:56:48
Message-ID: 1061236607.19705.132.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ERROR: update or delete on "ftp" violates foreign key constraint "$1"
on "ftp"
DETAIL: Key (ftp_id)=(11) is still referenced from "ftp".

Considering I have several different FTP tables in various schemas, this
message doesn't have much detail. The "Error Message Style Guide" does
not indicate one way or the other whether tables, etc. should be fully
qualified or not. Possibly not in ERROR, but qualified makes sense for
DETAIL.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-19 01:29:13 Re: Qualified tables in error messages
Previous Message Tom Lane 2003-08-18 18:20:13 Re: Parsing speed (was Re: pgstats_initstats() cost)