pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan S. Katz <jkatz@postgresql.org>
To: sfmconsult@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Pg_dumpall
Date: Sun, 8 Apr 2018 13:01:39 -0400
Message-ID: <903C7F7F-C143-47A2-8CF3-0EC48E2390B2@postgresql.org> (raw)
In-Reply-To: <152311295239.31235.6487236091906987117@wrigleys.postgresql.org>
References: <152311295239.31235.6487236091906987117@wrigleys.postgresql.org>

Hi,

> On Apr 7, 2018, at 10:55 AM, PG Doc comments form <noreply@postgresql.org> wrote:
> 
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/10/static/backup-dump.html
> Description:
> 
> "The basic usage of this command is:
> 
> pg_dumpall > outfile
> The resulting dump can be restored with psql:
> 
> psql -f infile postgres
> (Actually, you can specify any existing database name to..."
> 
> Should this not read :
> psql-f outfile postgres

Technically it is correct: you’re dumping data to an output file,
and reading the data in from an input file.  The documentation
also makes reference to what the “outfile” and “infile” 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 “dumpfile” would be more clear?

Jonathan





view thread (4+ messages)  latest in thread

Message-ID: <903C7F7F-C143-47A2-8CF3-0EC48E2390B2@postgresql.org>
Permalink:  ../903C7F7F-C143-47A2-8CF3-0EC48E2390B2@postgresql.org/
Also on:    postgresql.org/message-id/903C7F7F-C143-47A2-8CF3-0EC48E2390B2@postgresql.org

 · 

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: jkatz@postgresql.org, sfmconsult@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Pg_dumpall
  In-Reply-To: <903C7F7F-C143-47A2-8CF3-0EC48E2390B2@postgresql.org>

* 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