Re: pg_dump/restore --no-tableam - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: pg_dump/restore --no-tableam
Date
Msg-id 20220117062006.GY14051@telsasoft.com
Whole thread Raw
In response to Re: pg_dump/restore --no-tableam  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_dump/restore --no-tableam
List pgsql-hackers
On Mon, Jan 17, 2022 at 02:55:58PM +0900, Michael Paquier wrote:
> On Tue, Jan 11, 2022 at 10:09:07PM -0600, Justin Pryzby wrote:
> > I suppose you're right - I had previously renamed it from no-tableam.
> 
> Thanks for the new version.  I have noticed that support for the
> option with pg_dumpall was missing, but that looks useful to me like
> the other switches.

I saw that you added it to pg_dumpall.  But there's a typo in --help:

diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c
index 1cab0dfdc75..94852e7cdbb 100644
--- a/src/bin/pg_dump/pg_dumpall.c
+++ b/src/bin/pg_dump/pg_dumpall.c
@@ -655,3 +655,3 @@ help(void)
     printf(_("  --no-sync                    do not wait for changes to be written safely to disk\n"));
-    printf(_("  --no-tables-access-method    do not dump table access methods\n"));
+    printf(_("  --no-table-access-method     do not dump table access methods\n"));
     printf(_("  --no-tablespaces             do not dump tablespace assignments\n"));

Feel free to leave it for now, and I'll add it to my typos branch.

> And, done.

Thanks!

-- 
Justin



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Skipping logical replication transactions on subscriber side
Next
From: Ilya Anfimov
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15