Re: Unrecognized exception condition "deprecated_feature"

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Andres Freund <andres@anarazel.de>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>, Tom Lane <tgl@sss.pgh.pa.us>, "David G. Johnston" <david.g.johnston@gmail.com>, Kouber Saparev <kouber@gmail.com>, Postgres Bug <pgsql-bugs@postgresql.org>
Date: 2018-03-10T02:24:18Z
Lists: pgsql-bugs
Andres Freund wrote:
> On 2018-03-10 02:12:39 +0000, Andrew Gierth wrote:

> > While we're on the topic, I know of at least one other author of a
> > non-core PL (besides myself) that has been frustrated by the fact that
> > errcodes.txt is not installed anywhere, making it impossible to
> > autogenerate a plerrcodes.h file in the extension build process.
> 
> Seems entirely reasonable to install it from my POV.

+1

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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