Re: Unrecognized exception condition "deprecated_feature"

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>, Kouber Saparev <kouber@gmail.com>, Postgres Bug <pgsql-bugs@postgresql.org>
Date: 2018-03-10T00:55:37Z
Lists: pgsql-bugs
On 2018-03-09 19:42:26 -0500, Tom Lane wrote:
> While the core code hasn't got a use for that (since we never actually
> throw errors with such SQLSTATEs), this complaint seems to indicate
> that users would like to use them in RAISE.

I think that's a fair argument, and given we don't duplicate the lists
anymore, the effort for doing so seems trivial enough.  +0.5

- Andres


Commits

  1. Install errcodes.txt for use by extensions.

  2. Adjust input routines for float4, float8 and oid to reject the empty string

  3. Emit a warning when an empty string is input to the oid, float4, and