Re: PathNameCreateTemporaryDir() vs concurrency

2017-12-27 Thread Robert Haas
On Tue, Dec 26, 2017 at 3:11 AM, Thomas Munro wrote: > While testing parallel hash join today, I saw a couple of errors like this: > > 2017-12-26 23:34:37.402 NZDT [13082] ERROR: cannot create temporary > subdirectory "base/pgsql_tmp/pgsql_tmp13080.0.sharedfileset": File > exists > > There is a t

PathNameCreateTemporaryDir() vs concurrency

2017-12-26 Thread Thomas Munro
Hi hackers, While testing parallel hash join today, I saw a couple of errors like this: 2017-12-26 23:34:37.402 NZDT [13082] ERROR: cannot create temporary subdirectory "base/pgsql_tmp/pgsql_tmp13080.0.sharedfileset": File exists There is a thinko in PathNameCreateTemporaryDir(), a new function