Re: GIN function of pageinspect has inconsistency data type.

Поиск
Список
Период
Сортировка
От Sawada Masahiko
Тема Re: GIN function of pageinspect has inconsistency data type.
Дата
Msg-id CAD21AoBcr6G+5wH7-K_mACoeYG3Bq5=SkWoasJbX2KNK=TxCZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GIN function of pageinspect has inconsistency data type.  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On Wed, Jun 17, 2015 at 4:11 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
> 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.

I understood why it's returning a bigint.
Thanks!

Regards,

--
Sawada Masahiko



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Is it possible to have a "fast-write" Index?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Time to get rid of PQnoPasswordSupplied?