Allow "in place" tablespaces.
Thomas Munro <tmunro@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +19 −0 |
| src/backend/commands/tablespace.c | modified | +32 −7 |
| src/backend/utils/misc/guc.c | modified | +12 −0 |
| src/include/commands/tablespace.h | modified | +2 −0 |
Documentation touched
Discussion
- A test for replay of regression tests 82 messages · 2021-04-23 → 2022-08-04