Re: SLRU limits

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: SLRU limits
Дата
Msg-id 4DF108E5.8050900@enterprisedb.com
обсуждение исходный текст
Ответ на Re: SLRU limits  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 09.06.2011 19:24, Tom Lane wrote:
> (BTW, while I've not looked at the SLRU code in several years, I'm quite
> unconvinced that this is only a matter of filename lengths.)

I don't see anything but the filename length needing adjustment. In 
fact, when I hacked predicate.c to ignore the issue and use too high 
page numbers, I ended up with files like "100AB" in the directory. So 
slru.c goes merrily above the "limit", it just won't recognize them when 
it's time to truncate the slru because of the unexpected length, and 
will not clean them up.

(perhaps not worth risking it in 9.1 anyway, though..)

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: could not truncate directory "pg_serial": apparent wraparound
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Invalid byte sequence for encoding "UTF8", caused due to non wide-char-aware downcase_truncate_identifier() function on WINDOWS