Re: global temporary tables - Mailing list pgsql-hackers

From Tom Lane
Subject Re: global temporary tables
Date
Msg-id 7079.1272222143@sss.pgh.pa.us
Whole thread Raw
In response to Re: global temporary tables  (Jim Nasby <decibel@decibel.org>)
List pgsql-hackers
Jim Nasby <decibel@decibel.org> writes:
> On Apr 24, 2010, at 10:02 PM, Tom Lane wrote:
>> Yeah.  I think we also use RelFileNode as a hash tag in places, and
>> so adding a bool to it would be problematic for a couple of reasons:
>> possibly uninitialized pad bytes, and uselessly incorporating more bytes
>> into the hash calculation.

> Do we need to hash it that frequently?

Every buffer access, for instance.

> Do we insert tons of them into WAL?

Yes; the vast majority of WAL records contain one.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: proposal - structured funcid and lineno as new fields in error message
Next
From: Simon Riggs
Date:
Subject: Re: testing HS/SR - 1 vs 2 performance