Re: the case for machine-readable error fields

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: the case for machine-readable error fields
Дата
Msg-id 20090804213016.GR6494@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: the case for machine-readable error fields  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane escribió:

> However, I wonder whether we could turn this around.  Instead of an
> open-ended project to add an ill-defined collection of fields to an
> ill-defined collection of error cases, maybe we could identify a
> very short list of cases where it's known to be useful to pull a
> specific bit of information out of a specific error message.  And
> then implement just those.

Hmm, yeah, it makes sense to look at the problem this way.

> The bottom line behind my complaining is that this isn't going to be
> helpful unless it's very clearly defined which error reports produce
> what auxiliary fields.  The impression I got from Alvaro's comments
> was that he wanted to decorate everything in sight with anything he
> could think of, which perhaps is not what he intended.

Right :-(

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: the case for machine-readable error fields
Следующее
От: Robert Haas
Дата:
Сообщение: Re: the case for machine-readable error fields