Re: Unrecognized exception condition "deprecated_feature"

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Kouber Saparev <kouber(at)gmail(dot)com>, Postgres Bug <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Unrecognized exception condition "deprecated_feature"
Date: 2018-03-29 00:41:00
Message-ID: CAEepm=3JNUu8cx9a7WiJAgVeAUwM8aNEfAAe7Gq9S39nXgVpgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Mar 10, 2018 at 3:24 PM, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> 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

+1

Something like this? Or I guess src/backend/Makefile could do it directly.

I've wanted this for an ancient PL I've been trying to restore.

--
Thomas Munro
http://www.enterprisedb.com

Attachment Content-Type Size
0001-Install-errcodes.txt-for-use-by-extensions.patch application/octet-stream 2.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-03-29 01:22:42 Re: Unrecognized exception condition "deprecated_feature"
Previous Message David G. Johnston 2018-03-28 18:32:55 Re: Code Igniter 3.16 Error Get Last Insert Id