pgsql: Allow "in place" tablespaces.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow "in place" tablespaces.
Date: 2022-01-14 11:24:15
Message-ID: E1n8Kgp-0000tF-HP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)de>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2022-01-14 11:56:58 pgsql: Revert "Test replay of regression tests."
Previous Message Peter Eisentraut 2022-01-14 10:27:59 pgsql: Rename value node fields