↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

file_copy_method

Specifies the method used to copy files. Possible values are COPY (default) and CLONE (if operating support is available). This parameter affects: CREATE DATABASE ... STRATEGY=FILE_COPY ALTER DATABASE ... SET TABLESPACE ... CLONE uses the copy_file_range() (Linux, FreeBSD) or copyfile (macOS) system calls, giving the kernel the opportunity to share disk blocks or push work down to lower layers on some file systems.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

boot val
copy
category
Resource Usage / Disk
context
user
documented
true
enumvals
copy, clone
extra desc
Unknown
lang
en
max val
Unknown
metadata version
18
min val
Unknown
name
file_copy_method
short desc
Selects the file copy method.
source
pg-settings-source-snapshot
unit
Unknown
vartype
enum

Definition PG 18

Specifies the method used to copy files. Possible values are COPY (default) and CLONE (if operating support is available). This parameter affects: CREATE DATABASE ... STRATEGY=FILE_COPY ALTER DATABASE ... SET TABLESPACE ... CLONE uses the copy_file_range() (Linux, FreeBSD) or copyfile (macOS) system calls, giving the kernel the opportunity to share disk blocks or push work down to lower layers on some file systems.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:4fc33312292c5bb2815dd6909c1c7967d3bf6ceae53308a099455fbe629ed00d

Text language: en · wiki-repair-20261023:4fc33312292c5bb2815dd6909c1c7967d3bf6ceae53308a099455fbe629ed00d