pgsql: Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT.
Дата
Msg-id E1kz3GF-0006lZ-5E@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT.

Move it to class 57 (Operator Intervention), which seems like a
better choice given that from the client's standpoint it behaves
a heck of a lot like, e.g., ERRCODE_ADMIN_SHUTDOWN.

In a green field I'd put ERRCODE_IDLE_IN_TRANSACTION_SESSION_TIMEOUT
here as well.  But that's been around for a few years, so it's
probably too late to change its SQLSTATE code.

Discussion: https://postgr.es/m/763A0689-F189-459E-946F-F0EC4458980B@hotmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4edf96846a02693e4416478b3302e5133d2e8e01

Modified Files
--------------
src/backend/utils/errcodes.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Uniformly identify the target host in libpq connection failure r
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Track collation versions for indexes.