Re: NOT NULL violation and error-message - Mailing list pgsql-hackers

From Tom Lane
Subject Re: NOT NULL violation and error-message
Date
Msg-id 3191.1263306359@sss.pgh.pa.us
Whole thread Raw
In response to Re: NOT NULL violation and error-message  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> writes:
> Do we have any guideline about the message for identifier names?

The issue has come up before.  I think that what we really need here is
to implement additional fields in error message reports, so that the
name and schema name of the relevant object can be pulled out of the
message by programs without having to parse the message text.  If we had
that, it would reduce the pressure to clutter the basic message text
this way.  It would also improve our compliance with the SQL standard,
which says you're supposed to do it like that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: [PATCH] Provide rowcount for utility SELECTs
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_dump sort order for functions