mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
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
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#include "lib/stringinfo.h"
|
||||
#include "nodes/parsenodes.h"
|
||||
|
||||
extern bool allow_in_place_tablespaces;
|
||||
|
||||
/* XLOG stuff */
|
||||
#define XLOG_TBLSPC_CREATE 0x00
|
||||
#define XLOG_TBLSPC_DROP 0x10
|
||||
|
||||
Reference in New Issue
Block a user