tablespace_map

包含表空间映射列表的临时文件

The tablespace_map file is a temporary file containling a list of tablespace OID to tablespace file system path mappings.

tablespace_map is present from PostgreSQL 9.5.

用法

If this file is present in a server's data directory, it will be read on server start and the requisite tablespace symlinks (re)created; the file will be renamed to tablespace_map.old.

A tablespace_map is returned by pg_stop_backup() (PostgreSQL 15 and later: pg_backup_stop()).

变更历史

示例

Example tablespace_map file

16384 /var/lib/pgsql/tblspc_dir1
16385 /var/lib/pgsql/tblspc_dir2

分类

复制, 表空间

参见

表空间, pg_basebackup

反馈

Submit any comments, suggestions or corrections for "tablespace_map" here.