Re: TODO Item - Return compressed length of TOAST datatypes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: TODO Item - Return compressed length of TOAST datatypes
Дата
Msg-id 20050707032823.GA26942@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: TODO Item - Return compressed length of TOAST datatypes  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: TODO Item - Return compressed length of TOAST datatypes
Re: TODO Item - Return compressed length of TOAST datatypes
Список pgsql-patches
On Thu, Jul 07, 2005 at 03:01:46PM +1200, Mark Kirkwood wrote:
> Neil Conway wrote:

> >elog(ERROR) is usually used for "can't happen" errors; also, the usual
> >error message in this scenario is "cache lookup failed [...]". Perhaps
> >better to use get_typlen() here, anyway.
>
> I have attached a little change to varlena.c that uses it. I left the
> ereport as it was, but am not fussed about it either way.

I am, because it gives useless messages to the translators to work on.
elog parameters are not marked for translation, ereport are (errmsg and
friends, really).  So please don't do that.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"¿Cómo puedes confiar en algo que pagas y que no ves,
y no confiar en algo que te dan y te lo muestran?" (Germán Poo)

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: TODO Item - Return compressed length of TOAST datatypes
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: TODO Item - Return compressed length of TOAST datatypes