pgsql: Make the numeric-OID cases of regprocin and friends be non-throw - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Make the numeric-OID cases of regprocin and friends be non-throw
Date
Msg-id E1p9Ai1-000DcQ-4U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make the numeric-OID cases of regprocin and friends be non-throwing.

While at it, use a common subroutine already.

This doesn't move the needle very far in terms of making these
functions non-throwing; the only case we're now able to trap is
numeric-OID-is-out-of-range.  Still, it seems like a pretty
non-controversial step in that direction.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/780ec9f1b2a44c118d1246325404ad0ed2226cbf

Modified Files
--------------
src/backend/utils/adt/regproc.c | 216 ++++++++++++++--------------------------
1 file changed, 77 insertions(+), 139 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix recent accidental omission in pg_proc.dat
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Convert jsonpath's input function to report errors softly