Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1MHL-0005Dx-1a for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Mar 2018 01:22:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1MHI-0006Iu-50 for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Mar 2018 01:22:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1MHH-0006Ik-RK for pgsql-bugs@lists.postgresql.org; Thu, 29 Mar 2018 01:22:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1MHA-0005le-Dr for pgsql-bugs@postgresql.org; Thu, 29 Mar 2018 01:22:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w2T1Mg30001922; Wed, 28 Mar 2018 21:22:42 -0400 From: Tom Lane To: Thomas Munro cc: Alvaro Herrera , Andres Freund , Andrew Gierth , "David G. Johnston" , Kouber Saparev , Postgres Bug Subject: Re: Unrecognized exception condition "deprecated_feature" In-reply-to: References: <20180310021925.hoegs5fh2s4huiv4@alap3.anarazel.de> <20180310022418.iplzpxgoggjaxsqs@alvherre.pgsql> Comments: In-reply-to Thomas Munro message dated "Thu, 29 Mar 2018 13:41:00 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1919.1522286562.1@sss.pgh.pa.us> Date: Wed, 28 Mar 2018 21:22:42 -0400 Message-ID: <1920.1522286562@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: >>> 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. > Something like this? Or I guess src/backend/Makefile could do it directly. Patch seems reasonable as far as it goes, but what about the MSVC infrastructure? Also, do we need to discuss exactly where it's being installed to? Is the choice made here easy for an extension Makefile to locate? regards, tom lane