Re: latest commit breaks tsearch2 - Mailing list pgsql-committers

From Tom Lane
Subject Re: latest commit breaks tsearch2
Date
Msg-id 10745.1131976977@sss.pgh.pa.us
Whole thread Raw
In response to Re: latest commit breaks tsearch2  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-committers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> I don't much care for the hard-wired
>> assumption about the size of TPQTGist either ...

> typedef uint64 TPQTGist;

> What is your doubt? You suggest to use  sizeof(TPQTGist)*BIT_PER_BYTE?

Yeah.  It'll make the code easier to adapt to a machine without any
native int64 type.

            regards, tom lane

pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: latest commit breaks tsearch2
Next
From: teodor@svr1.postgresql.org (Teodor Sigaev)
Date:
Subject: pgsql: Use postgres-wide macros BITS_PER_BYTE instead self-definenig