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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make the numeric-OID cases of regprocin and friends be non-throw
Дата
Msg-id E1p9Ai1-000DcQ-4U@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: pgsql: Fix recent accidental omission in pg_proc.dat
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Convert jsonpath's input function to report errors softly