Re: pg_buffercache causes assertion failure

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: pg_buffercache causes assertion failure
Дата
Msg-id 429B8B50.90500@paradise.net.nz
обсуждение исходный текст
Ответ на Re: pg_buffercache causes assertion failure  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: pg_buffercache causes assertion failure  (Mark Kirkwood <markir@paradise.net.nz>)
Список pgsql-hackers
Mark Kirkwood wrote:

> 
> I couldn't use int4 as the underlying datatype is unsigned int (not 
> available as exposed Pg type). However, using int8 sounds promising (is 
> int8 larger than unsigned int on 64-bit platforms?).

Blocknumber is defined as uint32 in block.h - so should always be safe 
to represent as an int8 I am thinking.

I will look at patching pg_buffercache, changing numeric -> int8 for the 
relblocknumber column. This seems a tidier solution than using numeric, 
and loses the numeric overhead.

regards

Mark


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Inherited constraints and search paths (was
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: pg_buffercache causes assertion failure