doc: Document DEFAULT option in file_fdw.
authorFujii Masao <fujii@postgresql.org>
Tue, 13 Jan 2026 13:54:45 +0000 (22:54 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 13 Jan 2026 13:54:45 +0000 (22:54 +0900)
Commit 9f8377f7a introduced the DEFAULT option for file_fdw but did not
update the documentation. This commit adds the missing description of
the DEFAULT option to the file_fdw documentation.

Backpatch to v16, where the DEFAULT option was introduced.

Author: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CAOzEurT_PE7QEh5xAdb7Cja84Rur5qPv2Fzt3Tuqi=NU0WJsbg@mail.gmail.com
Backpatch-through: 16

doc/src/sgml/file-fdw.sgml

index 882d9a76d216988edc1b18b5ab9bb10587f50d9e..e3fe796b897f8aa2e044ffbb47604d6a38b12aa1 100644 (file)
    </listitem>
   </varlistentry>
 
+  <varlistentry>
+   <term><literal>default</literal></term>
+
+   <listitem>
+    <para>
+     Specifies the string that represents a default value,
+     the same as <command>COPY</command>'s <literal>DEFAULT</literal> option.
+    </para>
+   </listitem>
+  </varlistentry>
+
   <varlistentry>
    <term><literal>encoding</literal></term>