Make the numeric-OID cases of regprocin and friends be non-throwing.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Dec 2022 20:01:21 +0000 (15:01 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Dec 2022 20:01:21 +0000 (15:01 -0500)
commit780ec9f1b2a44c118d1246325404ad0ed2226cbf
treef3c37543afcaf42e0df377415ef6d0dcb99adc38
parentb5aff9255700b0b3155a4d2be865b6a776c2bda4
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.
src/backend/utils/adt/regproc.c