Re: Error messages --- now that we've got it, do you like

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Error messages --- now that we've got it, do you like
Дата
Msg-id 200307202256.h6KMurG27881@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Error messages --- now that we've got it, do you like  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Error messages --- now that we've got it, do you like  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> 
> VERBOSE doesn't seem like the right name for the \set parameter.  I
> consider VERBOSE to be a possible value for error verbosity.  Saying
> '\set VERBOSE terse' seems like an contradiction.
> 
> Should we call it VERBOSITY, or something else?  Seems 'error' or 'err'
> or 'message' should be in there somewhere too.
> 
> Here is a good example of the problem:
> 
> > regression=# \set VERBOSE verbose
> > regression=# \set VERBOSE default
> > regression=# \set VERBOSE terse
> 
> That is just confusing.  It is the parameter name and a possible value.
> 
> How about MESSOUTPUT or ERROUTPUT?  Both look ugly, though.

OK, if people like VERBOSITY, I wonder if the values should be more like
a tunable parameter, rather than a behavior, meaning VERBOSITY would
have values like off/default/full, or minimum/default/maximum.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: Error messages --- now that we've got it, do you like
Следующее
От: Sean Chittenden
Дата:
Сообщение: Reinventing the wheel...