Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bceZO-0001XN-Q4 for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Aug 2016 20:14:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bceZO-0005ud-5U for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Aug 2016 20:14:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bceZN-0005uE-Cl for pgsql-bugs@postgresql.org; Wed, 24 Aug 2016 20:14:41 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bceZK-0006Rd-KY for pgsql-bugs@postgresql.org; Wed, 24 Aug 2016 20:14:40 +0000 Received: from localhost ([127.0.0.1]:49892 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1bceZJ-0004KL-6M; Wed, 24 Aug 2016 20:14:37 +0000 From: Andrew Gierth To: Rick Otten Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14290: materialized view refresh doesn't use temp_tablespace In-Reply-To: <0042eb8ad3f665b06c06b5948ca02399@www.windfish.net> (Rick Otten's message of "Wed, 24 Aug 2016 16:08:09 -0400") Message-ID: <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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Date: Wed, 24 Aug 2016 21:14:37 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org >>>>> "Rick" == Rick Otten 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. -- Andrew (irc:RhodiumToad) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs