Re: Add missing FreeDir in CheckTablespaceDirectory - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Add missing FreeDir in CheckTablespaceDirectory
Date
Msg-id CAHGQGwF5ztNrmL7DP1ux2aqgOho8z8BW8x+modhR5US0izO9XA@mail.gmail.com
Whole thread
In response to Add missing FreeDir in CheckTablespaceDirectory  (Chao Li <li.evan.chao@gmail.com>)
List pgsql-hackers
On Sat, Oct 10, 2026 at 6:09 PM Chao Li <li.evan.chao@gmail.com> wrote:
>
> Hi,
>
> While reviewing another patch, I spotted that CheckTablespaceDirectory() in xlogrecovery.c misses to call FreeDir()
afterAllocateDir(). This seems to be an oversight in 9e4f914b5eba, where CheckTablespaceDirectory() was introduced. 

Thanks for the patch! LGTM. I'll apply it next week.

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Updated PostgreSQL RC / GA dates
Next
From: Greg Burd
Date:
Subject: Re: Tepid: selective index updates for heap relations