pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Restrict where INCREMENTAL.${NAME} files are recognized.
Date: Thu, 18 Apr 2024 15:09:32 +0000
Message-ID: <E1rxTOG-002hzn-74@gemulon.postgresql.org> (raw)

Restrict where INCREMENTAL.${NAME} files are recognized.

Previously, they were recognized anywhere in an incremental backup
directory; now, we restrict this to places where they are expected to
appear. That means this code will need updating if we ever do
incremental backups of files in other places (e.g. SLRU files), but
it lets you create a file called INCREMENTAL.config (or something like
that) at the top level of the data directory and still have things
work.

Patch by me, per request from David Steele, who also reviewed.

Discussion: http://postgr.es/m/5a7817da-6349-4653-8056-470300b6e512@pgmasters.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9e72f6bfae1707fca1a297db433f6145d582a1c2

Modified Files
--------------
src/bin/pg_combinebackup/pg_combinebackup.c | 47 +++++++++++++++++++++--------
src/bin/pg_combinebackup/t/005_integrity.pl |  9 ++++++
2 files changed, 43 insertions(+), 13 deletions(-)



view thread (15+ messages)

Message-ID: <E1rxTOG-002hzn-74@gemulon.postgresql.org>
Permalink:  ../E1rxTOG-002hzn-74@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rxTOG-002hzn-74@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: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Restrict where INCREMENTAL.${NAME} files are recognized.
  In-Reply-To: <E1rxTOG-002hzn-74@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