From: Rick Otten <rotten@windfish.net>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14290: materialized view refresh doesn't use temp_tablespace
Date: Wed, 24 Aug 2016 17:35:44 -0400
Message-ID: <f66e1fdf5e4a3d4fff6f174d7d254651@www.windfish.net> (raw)
In-Reply-To: <87k2f69bch.fsf@news-spur.riddles.org.uk>
References: <20160818190623.1529.12440@wrigleys.postgresql.org>
<87shtu9ewv.fsf@news-spur.riddles.org.uk>
<0042eb8ad3f665b06c06b5948ca02399@www.windfish.net>
<87k2f69bch.fsf@news-spur.riddles.org.uk>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Aha. Maybe that is my problem. The refresh is silently failing to use
TEMP_TABLESPACES.
When I explicitly do the grant create, the refresh then uses the temp
tablespace as originally expected.
Thanks.
On 2016-08-24 16:14, Andrew Gierth wrote:
> "Rick" == Rick Otten <rotten@windfish.net> writes:
Rick> Is t1 also the tablespace for your materialized view? (It isn't
Rick> clear from what you've posted below.)
No. The matview was created in pg_default.
Rick> In my environment my default tablespace for the database is
Rick> different than the temp_tablespace.
Possibly relevant here is that to put a tablespace into
temp_tablespaces, you must have CREATE permission on it. If you set the
value in postgresql.conf rather than with SET, you may not see errors
from lack of permission, instead tablespaces without permission will be
silently omitted.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: rotten@windfish.net, andrew@tao11.riddles.org.uk
Subject: Re: BUG #14290: materialized view refresh doesn't use temp_tablespace
In-Reply-To: <f66e1fdf5e4a3d4fff6f174d7d254651@www.windfish.net>
References: <20160818190623.1529.12440@wrigleys.postgresql.org> <87shtu9ewv.fsf@news-spur.riddles.org.uk> <0042eb8ad3f665b06c06b5948ca02399@www.windfish.net> <87k2f69bch.fsf@news-spur.riddles.org.uk> <f66e1fdf5e4a3d4fff6f174d7d254651@www.windfish.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox