Re: Style of file error messages

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Style of file error messages
Дата
Msg-id 465E1536.4020904@commandprompt.com
обсуждение исходный текст
Ответ на Re: Style of file error messages  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark wrote:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
> 
>> A seasoned developer might only need the file name to guess what kind of
>> file it is, but other people could probably use the help.
> 
> I think Peter's argument is that what kind of file it is really doesn't help a
> regular user. Nonetheless I agree strongly. Even if it doesn't actually make
> any practical difference it's one less thing to wonder about and one more
> anchor for a user to hold onto when trying to understand what's going on. 
> 
> I know I feel better knowing what part is actually broken on my car than just
> having a dummy light come on even if I'm going to go to the same garage either
> way.

In general I agree with your assessment but... In PostgreSQL everything 
is structured so formally in terms of the filesystem that the verbosity 
seems overkill. I mean think about it:

pg_clog/0FEa
pg_xlog/9283521535
base/124765/23569.1

It isn't really that opaque. Besides, *anybody* who gets the errors we 
are talking about is going to post that they can't open the specific 
file right?

Sincerely,

Joshua D. Drake




-- 
      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/



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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Query plan degradation 8.2 --> 8.3
Следующее
От: "Rodrigo Sakai"
Дата:
Сообщение: ERROR: index row size 2960 exceeds btree maximum