Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DhQ-0006EB-Gi for pgsql-docs@arkaria.postgresql.org; Sun, 08 Apr 2018 17:01:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5DhP-0006na-0U for pgsql-docs@arkaria.postgresql.org; Sun, 08 Apr 2018 17:01:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DhO-0006nK-R2 for pgsql-docs@lists.postgresql.org; Sun, 08 Apr 2018 17:01:50 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DhM-00014s-Na for pgsql-docs@lists.postgresql.org; Sun, 08 Apr 2018 17:01:50 +0000 Received: from pool-98-116-99-252.nycmny.fios.verizon.net ([98.116.99.252] helo=ph33r-retina.home) by meldrar.postgresql.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DhI-0002mZ-8L; Sun, 08 Apr 2018 17:01:46 +0000 From: "Jonathan S. Katz" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Pg_dumpall Date: Sun, 8 Apr 2018 13:01:39 -0400 References: <152311295239.31235.6487236091906987117@wrigleys.postgresql.org> To: sfmconsult@gmail.com, pgsql-docs@lists.postgresql.org In-Reply-To: <152311295239.31235.6487236091906987117@wrigleys.postgresql.org> Message-Id: <903C7F7F-C143-47A2-8CF3-0EC48E2390B2@postgresql.org> X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, > On Apr 7, 2018, at 10:55 AM, PG Doc comments form = wrote: >=20 > The following documentation comment has been logged on the website: >=20 > Page: https://www.postgresql.org/docs/10/static/backup-dump.html > Description: >=20 > "The basic usage of this command is: >=20 > pg_dumpall > outfile > The resulting dump can be restored with psql: >=20 > psql -f infile postgres > (Actually, you can specify any existing database name to..." >=20 > Should this not read : > psql-f outfile postgres Technically it is correct: you=E2=80=99re dumping data to an output = file, and reading the data in from an input file. The documentation also makes reference to what the =E2=80=9Coutfile=E2=80=9D and = =E2=80=9Cinfile=E2=80=9D represent. That being said, I can see how it can be confusing particularly if you are reading through the documentation quickly. Perhaps a name like =E2=80=9Cdumpfile=E2=80=9D would be more clear? Jonathan