Re: Missing errcode() in ereport

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Missing errcode() in ereport
Дата
Msg-id 20200319175902.vjib2tslosw65iyr@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Missing errcode() in ereport  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Missing errcode() in ereport  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Missing errcode() in ereport  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Hi,

On 2020-03-17 10:09:18 -0400, Tom Lane wrote:
> We might want to spend some effort thinking how to find or prevent
> additional bugs of the same ilk ...

Yea, that'd be good.  Trying to help people new to postgres write their
first patches I found that ereport is very confusing to them - largely
because the syntax doesn't make much sense. Made worse by the compiler
error messages being terrible in many cases.

Not sure there's much we can do without changing ereport's "signature"
though :(

Regards,

Andres



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

Предыдущее
От: Andreas Karlsson
Дата:
Сообщение: Re: Unicode normalization SQL functions
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: GSoC applicant proposal, Uday PB