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 1euU09-0000Qn-QN for pgsql-bugs@arkaria.postgresql.org; Sat, 10 Mar 2018 02:12:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1euU08-0005E2-PD for pgsql-bugs@arkaria.postgresql.org; Sat, 10 Mar 2018 02:12:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1euU08-0005Ds-JH for pgsql-bugs@lists.postgresql.org; Sat, 10 Mar 2018 02:12:48 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1euU05-0005rf-SF for pgsql-bugs@postgresql.org; Sat, 10 Mar 2018 02:12:48 +0000 Received: from [192.168.127.1] (port=35932 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1euU00-000BPj-UZ; Sat, 10 Mar 2018 02:12:40 +0000 Received: from [127.0.0.1] (port=33083 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1euTzz-000LDa-Ub; Sat, 10 Mar 2018 02:12:40 +0000 From: Andrew Gierth To: Tom Lane Cc: Andres Freund , "David G. Johnston" , Kouber Saparev , Postgres Bug Subject: Re: Unrecognized exception condition "deprecated_feature" In-Reply-To: <30525.1520642546@sss.pgh.pa.us> (Tom Lane's message of "Fri, 09 Mar 2018 19:42:26 -0500") Message-ID: <87woykk7mu.fsf@news-spur.riddles.org.uk> References: <24803.1520635455@sss.pgh.pa.us> <20180310001748.bkrbahho3ssdvp6n@alap3.anarazel.de> <30525.1520642546@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sat, 10 Mar 2018 02:12:39 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Tom" == Tom Lane writes: Tom> Yeah, I'm not that excited about removing it. Probably a more Tom> useful thing to debate is whether we ought to change the policy Tom> about omitting warning conditions from plpgsql's conversion list. Tom> While the core code hasn't got a use for that (since we never Tom> actually throw errors with such SQLSTATEs), this complaint seems Tom> to indicate that users would like to use them in RAISE. 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. -- Andrew (irc:RhodiumToad)