pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: fix pg_mkdir_p to tolerate concurrent directory creation
Date: Thu, 18 Jun 2026 11:43:38 -0400
Message-ID: <1243456.1781797418@sss.pgh.pa.us> (raw)
In-Reply-To: <89be878a-abc1-4000-9dd2-8422d561a24b@dunslane.net>
References: <3ca004de-e49b-4471-b8aa-fd656e70f68c@dunslane.net>
	<1231927.1781792643@sss.pgh.pa.us>
	<89be878a-abc1-4000-9dd2-8422d561a24b@dunslane.net>

Andrew Dunstan <andrew@dunslane.net> writes:
> Oh, good catch, thanks! Here's a revised patch.

The Unix side of this LGTM.  I have no idea about the Windows
half (... but are we sure GetFileAttributes() can't change errno?)

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <1243456.1781797418@sss.pgh.pa.us>
Permalink:  ../1243456.1781797418@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1243456.1781797418@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@dunslane.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: fix pg_mkdir_p to tolerate concurrent directory creation
  In-Reply-To: <1243456.1781797418@sss.pgh.pa.us>

* 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