Re: Question on error code selection in conflict detection

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Question on error code selection in conflict detection
Дата
Msg-id CA+TgmobpXW3GB-QS_5Uecj3aeeQFcgo+z-PsU8n7pCq1QXBiSQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Question on error code selection in conflict detection  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Question on error code selection in conflict detection
Список pgsql-hackers
On Tue, Jun 10, 2025 at 2:09 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> Can we instead try to use other suitable existing error codes?

Why?

I mean, I'm not 100% against using existing error codes, but I feel
like we might be distorting the meanings of the existing error codes.
If we used new error codes, then people could test for those and know
that they would get exactly these conditions and nothing else.

--
Robert Haas
EDB: http://www.enterprisedb.com



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