Re: Parallell hashjoin sometimes ignores temp_tablespaces - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Parallell hashjoin sometimes ignores temp_tablespaces
Date
Msg-id 935165.1593792746@sss.pgh.pa.us
Whole thread Raw
In response to Re: Parallell hashjoin sometimes ignores temp_tablespaces  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Parallell hashjoin sometimes ignores temp_tablespaces  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> A quick look -- to do things right, we will need to know the database
> default tablespace in this case right? Which I guess isn't there because
> the shared fileset isn't tied to a database. But perhaps it's as easy as
> something like the attached, just overwriting the oid?

Yeah, we just have to pick an appropriate place for making the
substitution.  I have no objection to doing it in SharedFileSetInit, as
long as we're sure it will only be consulted for placing temp files and
not relations.

The lack of documentation seems to be my fault, so I'm willing to pick
this up unless somebody else wants it.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: POC: rational number type (fractions)
Next
From: Magnus Hagander
Date:
Subject: Re: Parallell hashjoin sometimes ignores temp_tablespaces