pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow "in place" tablespaces.
Date: Fri, 14 Jan 2022 11:24:15 +0000
Message-ID: <E1n8Kgp-0000tF-HP@gemulon.postgresql.org> (raw)

Allow "in place" tablespaces.

Provide a developer-only GUC allow_in_place_tablespaces, disabled by
default.  When enabled, tablespaces can be created with an empty
LOCATION string, meaning that they should be created as a directory
directly beneath pg_tblspc.  This can be used for new testing scenarios,
in a follow-up patch.  Not intended for end-user usage, since it might
confuse backup tools that expect symlinks.

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CA%2BhUKGKpRWQ9SxdxxDmTBCJoR0YnFpMBe7kyzY8SUQk%2BHeskxg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7170f2159fb21b62c263acd458d781e2f3c3f8bb

Modified Files
--------------
doc/src/sgml/config.sgml          | 19 +++++++++++++++++++
src/backend/commands/tablespace.c | 39 ++++++++++++++++++++++++++++++++-------
src/backend/utils/misc/guc.c      | 12 ++++++++++++
src/include/commands/tablespace.h |  2 ++
4 files changed, 65 insertions(+), 7 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1n8Kgp-0000tF-HP@gemulon.postgresql.org>
Permalink:  ../E1n8Kgp-0000tF-HP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n8Kgp-0000tF-HP@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Allow "in place" tablespaces.
  In-Reply-To: <E1n8Kgp-0000tF-HP@gemulon.postgresql.org>
  References: <E1n8Kgp-0000tF-HP@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