Re: Error messages/logging (Was: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/parser gram.y parse_oper.c')

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: Error messages/logging (Was: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/parser gram.y parse_oper.c')
Дата
Msg-id
85971c3cec78695dd771a6a3e6c3faf1
Список
Дерево обсуждения
Re: Error messages/logging (Was: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/parser gram.y parse_oper.c') Bruce Momjian <maillist@candle.pha.pa.us>
> > This generates an ERROR, because the parser catches the type mismatch.
> 
> Hm - this is just example, I could use casting here...

Ah, you got me here.  If you cast int2(), you would get a different
message.  You are right.

I changes parser/, commands/, utils/adt/, and several of the /tcop
files.  Should take care of most of them.  Any errors coming out of the
optimizer or executor, or cache code should be marked as serious.  Let's
see if it helps.  I can easily make them all the same.

- -- 
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------
В списке pgsql-hackers по дате отправления
От: Thomas G. Lockhart
Дата:
FAQ