public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: BUG #19437: temp_tablespaces doesn't work inside a cursor?
Date: Wed, 25 Mar 2026 06:52:14 -0700
Message-ID: <CAKFQuwbtK=HfDsUo7p7zqFUb-h=ZqUS93K4+9nbOPW+bKnQuaA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On Wednesday, March 25, 2026, Tom Lane <[email protected]> wrote:
> PG Bug reporting form <[email protected]> writes:
> > I'm seeing strange behavior in Postgres when changing the
> temp_tablespaces
> > parameter and suspect a bug. At least, I haven't found a description of
> this
> > behavior in the documentation.
>
> I think you are imagining that pg_reload_conf() is a synchronous
> operation.
The use of sleep does indicate awareness of the async nature of this.
>
> > Ensure that temporary files are created in it:
>
> \o /dev/null
>
> What does "\o /dev/null" have to do with this? That's a
> psql-side operation.
>
The comment applies to all three lines in the following block, not just the
first line.
There is something odd here. Look at the log entry at 12:04:08.016; it
uses base/ while the surrounding ones use pg_tblspace/ and the setting
itself hasn’t changed during the sequence.
I haven’t tried to validate the cursor claim yet but; this definitely isn’t
the easiest format to consume and I can’t do much on my own presently.
David J.
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], [email protected]
Subject: Re: BUG #19437: temp_tablespaces doesn't work inside a cursor?
In-Reply-To: <CAKFQuwbtK=HfDsUo7p7zqFUb-h=ZqUS93K4+9nbOPW+bKnQuaA@mail.gmail.com>
* 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