pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder
Date: Fri, 30 Aug 2024 01:43:10 +0000
Message-ID: <E1sjqfO-0023oH-6d@gemulon.postgresql.org> (raw)

Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder

This commit replaces most of the hardcoded values of "pg_replslot" by a
new PG_REPLSLOT_DIR #define.  This makes the style more consistent with
the existing PG_STAT_TMP_DIR, for example.  More places will follow a
similar change.

Author: Bertrand Drouvot
Reviewed-by: Ashutosh Bapat, Yugo Nagata, Michael Paquier
Discussion: https://postgr.es/m/ZryVvjqS9SnV1GPP@ip-10-97-1-34.eu-west-3.compute.internal

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2065ddf5e34ce098f549c4279ee3ab33c188a764

Modified Files
--------------
src/backend/backup/basebackup.c                 |  3 +-
src/backend/replication/logical/reorderbuffer.c | 17 ++++-----
src/backend/replication/slot.c                  | 46 ++++++++++++-------------
src/backend/utils/adt/genfile.c                 |  5 +--
src/bin/pg_rewind/filemap.c                     |  2 +-
src/include/replication/slot.h                  |  3 ++
6 files changed, 41 insertions(+), 35 deletions(-)



Message-ID: <E1sjqfO-0023oH-6d@gemulon.postgresql.org>
Permalink:  ../E1sjqfO-0023oH-6d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sjqfO-0023oH-6d@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder
  In-Reply-To: <E1sjqfO-0023oH-6d@gemulon.postgresql.org>

* 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