Re: GIN function of pageinspect has inconsistency data type.

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: GIN function of pageinspect has inconsistency data type.
Дата
Msg-id 5581D464.209@BlueTreble.com
обсуждение исходный текст
Ответ на GIN function of pageinspect has inconsistency data type.  (Sawada Masahiko <sawada.mshk@gmail.com>)
Ответы Re: GIN function of pageinspect has inconsistency data type.
Список pgsql-hackers
On 6/16/15 8:26 AM, Sawada Masahiko wrote:
> I noticed while using gin function of pageinspect that there are some
> inconsistency data types.
> For example, data type of GinMetaPageData.head, and tail  is
> BlockNumber, i.g, uint32.
> But in ginfunc.c, we get that value as int64.

You can't put a uint32 into a signed int32 (which is what the SQL int 
is). That's why it's returning a bigint.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.5 make world failing due to sgml tools missing
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: last_analyze/last_vacuum not being updated