public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: MichaelDBA <[email protected]>
Cc: Wells Oliver <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: CTEs and temp_buffers?
Date: Tue, 26 Apr 2022 15:03:56 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAOC+FBXvpUcTwH5ec0KK7A+MOmRkXDC3xy069ykzEC1asDKi3A@mail.gmail.com>
<[email protected]>
<[email protected]>
MichaelDBA <[email protected]> writes:
> Hi Tom,
> Of course, you're right! I got sidetracked thinking about temp_buffers
> with respect to temporary tables and not CTEs where work_mem stuff would
> apply. But back to the temp_buffers thing. Can you acknowledge that my
> thinking is right about that? That temporary table buffers if exceeding
> temp_buffers gets logged to the *<datadir>/base/pgsql_tmp* area and is
> not logged in the logs at all? My testing seems to confirm that.
No. Temp tables go into the same directories as regular tables.
The files have funny names though, following the format "tN_OID"
rather than just "OID".
regards, tom lane
view thread (6+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: CTEs and temp_buffers?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox