Re: Duplicate key value error

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: Duplicate key value error
Дата
Msg-id 20090722100135.A05D.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Duplicate key value error  ("Dickson S. Guedes" <listas@guedesoft.net>)
Список pgsql-hackers
"Dickson S. Guedes" <listas@guedesoft.net> wrote:

> Hum, for key names ok, but for values, wouldn't this worse the output when  
> it is greater than 512 bytes?

Why do we need to cut values in 512 bytes? It might be generate larger logs
before, but we don't have any limits for length of log messages.

ex) ERROR:  ...   STATEMENT:  (very long query without length-limit)

Also, we cannot use so long keys because length of key must be less then
BLCKSZ. Error messages is 256kB at longest (INDEX_MAX_KEYS=32 * BLKCSZ=8kB),
so I think it is not so dangerous.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: revised hstore patch
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: revised hstore patch