pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shinya Kato <Shinya11.Kato@oss.nttdata.com>
To: pgsql-docs@lists.postgresql.org
Subject: Fix analyze_sampling docs in postgres-fdw.sgml
Date: Mon, 04 Mar 2024 14:27:41 +0900
Message-ID: <7fd9166b9fda267411793f39986d7f24@oss.nttdata.com> (raw)

Hi!

I fixed analyze_sampling docs in postgres-fdw.sgml.
- Changed analyze_sampling type 'text' to 'string'
- Add a statement 'The option specified on a table overrides an option 
specified for the server.'

Do you think?

Regards,
Shinya Kato
NTT DATA GROUP CORPORATION

Attachments:

  [text/x-diff] v1-0001-fix-analyze_sampling-docs.patch (1.1K, ../7fd9166b9fda267411793f39986d7f24@oss.nttdata.com/2-v1-0001-fix-analyze_sampling-docs.patch)
  download | inline diff:
diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml
index 3c54a26c9a..13b0f46bbf 100644
--- a/doc/src/sgml/postgres-fdw.sgml
+++ b/doc/src/sgml/postgres-fdw.sgml
@@ -337,13 +337,14 @@ OPTIONS (ADD password_required 'false');
    <variablelist>
 
     <varlistentry>
-     <term><literal>analyze_sampling</literal> (<type>text</type>)</term>
+     <term><literal>analyze_sampling</literal> (<type>string</type>)</term>
      <listitem>
       <para>
        This option, which can be specified for a foreign table or a foreign
        server, determines if <command>ANALYZE</command> on a foreign table
        samples the data on the remote side, or reads and transfers all data
-       and performs the sampling locally. The supported values
+       and performs the sampling locally. The option specified on a table
+       overrides an option specified for the server. The supported values
        are <literal>off</literal>, <literal>random</literal>,
        <literal>system</literal>, <literal>bernoulli</literal>
        and <literal>auto</literal>. <literal>off</literal> disables remote


view thread (3+ messages)  latest in thread

Message-ID: <7fd9166b9fda267411793f39986d7f24@oss.nttdata.com>
Permalink:  ../7fd9166b9fda267411793f39986d7f24@oss.nttdata.com/
Also on:    postgresql.org/message-id/7fd9166b9fda267411793f39986d7f24@oss.nttdata.com

 ·  · 

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: pgsql-docs@postgresql.org
  Cc: Shinya11.Kato@oss.nttdata.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Fix analyze_sampling docs in postgres-fdw.sgml
  In-Reply-To: <7fd9166b9fda267411793f39986d7f24@oss.nttdata.com>

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

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