Teodor Sigaev <teodor(at)sigaev(dot)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