Re: fix pg_mkdir_p to tolerate concurrent directory creation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: fix pg_mkdir_p to tolerate concurrent directory creation
Date: 2026-06-18 15:43:38
Message-ID: 1243456.1781797418@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2026-06-18 15:49:38 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Previous Message Jeyaprakash Rajamani 2026-06-18 15:42:33 Performance Degradation (Table becomes bloat) During Repeated Bulk UPDATE Operations