Re: [Proposal] Adding Log File Capability to pg_createsubscriber - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: [Proposal] Adding Log File Capability to pg_createsubscriber
Date
Msg-id CAA4eK1+VPpFBOMRnxGtrJUkQo=2fgpceQpoaRjo8po7LDiRsUg@mail.gmail.com
Whole thread
In response to RE: [Proposal] Adding Log File Capability to pg_createsubscriber  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
List pgsql-hackers
On Tue, Mar 24, 2026 at 3:36 PM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
>
> I created a top-up patch set which addressed all comments from me and others.
> See attached.
>

+ /* Set mask based on the PGDATA permissions */
+ if (!GetDataDirectoryCreatePerm(subscriber_dir))
+ report_createsub_fatal("could not read permissions of directory \"%s\": %m",
+    subscriber_dir);

We can add a bit more detailed comments as to why we use
data_directory permissions.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: Adding REPACK [concurrently]
Next
From: Japin Li
Date:
Subject: Re: heapam_tuple_complete_speculative : remove unnecessary tuple fetch