Re: Upgrading the backend's error-message infrastructure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Upgrading the backend's error-message infrastructure
Дата
Msg-id 21237.1047837552@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Upgrading the backend's error-message infrastructure  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Upgrading the backend's error-message infrastructure  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-interfaces
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Given that we now need order-of-thirty possible field types, do you feel
>> uncomfortable with a single-byte field identifier in the FE/BE protocol?

> There's a possible solution:  SQL99 part 3 defines numerical codes for
> each of these fields (table 12/section 5.14).  The codes are between
> around 0 and 40.

Hmm.  I can't see any advantage to these over assigning our own codes;
ours would have at least *some* mnemonic value, rather than being chosen
completely at random ...
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Upgrading the backend's error-message infrastructure
Следующее
От: Tom Lane
Дата:
Сообщение: Error-message infrastructure: what about location in PL functions?