2020年10月6日(火) 21:13 Ian Lawrence Barwick <barw...@gmail.com>:
>
> Hi
>
> The pg_dump doc page [1], under the -t/--table option, contains a Note
> documenting the behavioural differences introduced in PostgreSQL 8.2.
>
> As it's been almost exactly 14 years since that note was added [2], I suggest
> it can be removed entirely.
>
> [1] https://www.postgresql.org/docs/current/app-pgdump.html
> [2] 
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=blobdiff;f=doc/src/sgml/ref/pg_dump.sgml;h=9aa4baf84e74817a3c3e8359b2c4c8a847fda987;hp=deafd7c9a989c2cbce3979d94416a298609f5e84;hb=24e97528631e7e810ce61fc0f5fbcaca0c001c4c;hpb=77d2b1b625c7decd7a25ec865bced3b927de6d4b


Oh yes, I was planning to attach an ultra-trivial patch for that too.


Regards

Ian Barwick
-- 
EnterpriseDB: https://www.enterprisedb.com
commit 80e4ab04401d38d4924dac153a53c9b2108f560c
Author: Ian Barwick <barw...@gmail.com>
Date:   Tue Oct 6 20:51:03 2020 +0900

    doc: remove reference to pre-8.2 pg_dump behaviour
    
    The behavioural change in the -t/--table option happened around 15
    years ago and there seems little point in keeping it around.

diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 1400cf8775..f99dc3f31e 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -548,18 +548,6 @@ PostgreSQL documentation
         </para>
        </note>
 
-       <note>
-        <para>
-         The behavior of the <option>-t</option> switch is not entirely upward
-         compatible with pre-8.2 <productname>PostgreSQL</productname>
-         versions.  Formerly, writing <literal>-t tab</literal> would dump all
-         tables named <literal>tab</literal>, but now it just dumps whichever one
-         is visible in your default search path.  To get the old behavior
-         you can write <literal>-t '*.tab'</literal>.  Also, you must write something
-         like <literal>-t sch.tab</literal> to select a table in a particular schema,
-         rather than the old locution of <literal>-n sch -t tab</literal>.
-        </para>
-       </note>
       </listitem>
      </varlistentry>
 

Reply via email to