public inbox for [email protected]  
help / color / mirror / Atom feed
From: Shinya Kato <[email protected]>
To: [email protected]
Subject: file_fdw: Add missing docs for the DEFAULT option
Date: Fri, 9 Jan 2026 17:05:56 +0900
Message-ID: <CAOzEurT_PE7QEh5xAdb7Cja84Rur5qPv2Fzt3Tuqi=NU0WJsbg@mail.gmail.com> (raw)

Hi hackers,

Commit 9f8377f[0] introduced the DEFAULT option for file_fdw, but the
documentation was not updated. The attached patch adds the missing
documentation.

[0] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=9f8377f7a27910bf0f35bf5169a8046731948...

--
Best regards,
Shinya Kato
NTT OSS Center


Attachments:

  [application/x-patch] v1-0001-file_fdw-Add-missing-docs-for-the-DEFAULT-option.patch (1.1K, ../CAOzEurT_PE7QEh5xAdb7Cja84Rur5qPv2Fzt3Tuqi=NU0WJsbg@mail.gmail.com/2-v1-0001-file_fdw-Add-missing-docs-for-the-DEFAULT-option.patch)
  download | inline diff:
From 2dfc92021974646118582a2b1119bd4cd0f38e0e Mon Sep 17 00:00:00 2001
From: Shinya Kato <[email protected]>
Date: Fri, 9 Jan 2026 16:50:50 +0900
Subject: [PATCH v1] file_fdw: Add missing docs for the DEFAULT option

Commit 9f8377f7a introduced the DEFAULT option for file_fdw, but the
documentation was not updated. This commit adds the missing
documentation.

Author: Shinya Kato <[email protected]>
Reviewed-by:
Discussion: https://postgr.es/m/
---
 doc/src/sgml/file-fdw.sgml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/src/sgml/file-fdw.sgml b/doc/src/sgml/file-fdw.sgml
index 882d9a76d21..e3fe796b897 100644
--- a/doc/src/sgml/file-fdw.sgml
+++ b/doc/src/sgml/file-fdw.sgml
@@ -115,6 +115,17 @@
    </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>
 
-- 
2.47.3



view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: file_fdw: Add missing docs for the DEFAULT option
  In-Reply-To: <CAOzEurT_PE7QEh5xAdb7Cja84Rur5qPv2Fzt3Tuqi=NU0WJsbg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox