Re: Calling PrepareTempTablespaces in BufFileCreateTemp

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Melanie Plageman <melanieplageman@gmail.com>, Michael Paquier <michael@paquier.xyz>, Ashwin Agrawal <aagrawal@pivotal.io>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2019-05-18T00:52:18Z
Lists: pgsql-hackers
On Tue, Apr 30, 2019 at 3:22 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> So now I'm feeling more favorable about the idea of adding a
> PrepareTempTablespaces call to BufFileCreateTemp, and just stopping
> with that.  If we want to do more, I feel like it requires a
> significant amount of rethinking about what the expectations are for
> fd.c, and some rejiggering of PrepareTempTablespaces's API too.
> I'm not sufficiently excited about this issue to do that.

+1. Let's close this one out.

--
Peter Geoghegan



Commits

  1. Make BufFileCreateTemp() ensure that temp tablespaces are set up.