Re: Unrecognized exception condition "deprecated_feature"
Kouber Saparev <kouber@gmail.com>
From: Kouber Saparev <kouber@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>,
Postgres Bug <pgsql-bugs@postgresql.org>
Date: 2018-03-09T23:07:30Z
Lists: pgsql-bugs
2018-03-10 0:44 GMT+02:00 Tom Lane <tgl@sss.pgh.pa.us>: > This isn't specific to ERRCODE_WARNING_DEPRECATED_FEATURE; if you look > at generate-plerrcodes.pl you'll see it only collects error codes, not > warning codes, for use in plpgsql's mapping table. It's documented, too: > Appendix A says > > (Note that PL/pgSQL does not recognize warning, as opposed to error, > condition names; those are classes 00, 01, and 02.) > Indeed. next unless $type eq 'E'; The only exception is 'string_data_right_truncation' (01004) because actually it is duplicated further (22001). Thanks for the clarification! -- Kouber Saparev
Commits
-
Install errcodes.txt for use by extensions.
- 1fd869066863 11.0 landed
-
Adjust input routines for float4, float8 and oid to reject the empty string
- 975e27377aad 8.1.0 cited
-
Emit a warning when an empty string is input to the oid, float4, and
- 2146bfc869bf 8.0.0 cited