↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 配置参数

allow_in_place_tablespaces

当向 CREATE TABLESPACE 命令提供空的位置字符串时,允许将表空间创建为 pg_tblspc 内的目录。这旨在允许测试主库和备库在同一台机器上运行的复制场景。这样的目录可能会混淆备份工具,因为这些工具期望在该位置只找到符号链接。只有超级用户和具有适当 SET 权限的用户才能更改此设置。

英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。

当前阅读 PG 19·选择有来源记录的版本

boot val
off
category
Developer Options
context
superuser
doc same as
未知
documented
true
enumvals
未知
extra desc
未知
lang
en
max val
未知
metadata version
19beta4
min val
未知
name
allow_in_place_tablespaces
short desc
Allows tablespaces directly inside pg_tblspc, for testing.
source
pg-settings-source-snapshot
unit
未知
vartype
bool

版本定义 PG 19

当向 CREATE TABLESPACE 命令提供空的位置字符串时,允许将表空间创建为 pg_tblspc 内的目录。这旨在允许测试主库和备库在同一台机器上运行的复制场景。这样的目录可能会混淆备份工具,因为这些工具期望在该位置只找到符号链接。只有超级用户和具有适当 SET 权限的用户才能更改此设置。

比较版本

完整来源事实

doc html

<p>
        Allows tablespaces to be created as directories inside
        <code class="filename">pg_tblspc</code>, when an empty location string
        is provided to the <code class="command">CREATE TABLESPACE</code> command.  This
        is intended to allow testing replication scenarios where primary and
        standby servers are running on the same machine.  Such directories
        are likely to confuse backup tools that expect to find only symbolic
        links in that location.
        Only superusers and users with the appropriate <code class="literal">SET</code>
        privilege can change this setting.
       </p>

documentation revision

{"inputs":[{"file":"runtime-config-developer.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"44a1ecd5d3b37a3cbfe9e38d974931b46567a167311e11baaea0c5816b033e8b","version":"19rc2"},{"file":"runtime-config-developer.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"537fd5a2901e554c1bd89332a049781a3456a721270c9278b44c749b341ffabf","version":"19rc2"}],"release":"19rc2","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 19 · wiki-repair-20261023:11eb858658131829982a8a6b001be3cb83acf8529dce1f497052c935f62b6bea

正文语言: zh-Hans · wiki-repair-20261023:11eb858658131829982a8a6b001be3cb83acf8529dce1f497052c935f62b6bea