Re: SSI error messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SSI error messages
Дата
Msg-id 19770.1310842883@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SSI error messages  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: SSI error messages
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> I think I would prefer something like this:

> ERROR:  could not serialize access due to read/write dependencies among 
> transactions
> DETAIL: Reason code: %s
> HINT:  The transaction might succeed if retried.

> That's my 2c, anyway. I see you committed this already, I don't 
> violently object to that either...

Well, as I mentioned in the commit message, I've thought for some time
that there were use cases for errdetail_internal.  Whether these
particular places in predicate.c use it or not doesn't affect that.

I don't have a strong opinion about whether to do it like you suggest,
other than that the proposed wording doesn't meet the message style
guideline about detail messages being complete sentences.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: proposal: a validator for configuration files
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: proposal: a validator for configuration files