Обсуждение: incorrect description of Python try / except

Поиск
Список
Период
Сортировка

incorrect description of Python try / except

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/plpython-subtransaction.html
Description:

On page
https://www.postgresql.org/docs/current/plpython-subtransaction.html, 
Note that the use of try/catch is still required.
should read
Note that the use of try/except is still required.

Re: incorrect description of Python try / except

От
Tom Lane
Дата:
PG Doc comments form <noreply@postgresql.org> writes:
> On page
> https://www.postgresql.org/docs/current/plpython-subtransaction.html, 
> Note that the use of try/catch is still required.
> should read
> Note that the use of try/except is still required.

Right you are.  Will fix, thanks!

            regards, tom lane