pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@postgresql.org
Cc: adamgauthier12@gmail.com
Subject: pg_dumpall examples may lead to encoding problems
Date: Wed, 27 Dec 2017 09:47:04 +0000
Message-ID: <20171227094704.826.12723@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/app-pg-dumpall.html
Description:

The example to dumb all databases at the bottom of the page &quot;pg_dumpall &gt;
db.out&quot; works, but I think it would be better to suggest &quot;pg_dumpall -f
db.out&quot; instead, as it uses the database&#39;s encoding for the db.out file.
Using the current example on Windows led to the db.out file being in the
wrong encoding and not working to restore the database.


Message-ID: <20171227094704.826.12723@wrigleys.postgresql.org>
Permalink:  ../20171227094704.826.12723@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20171227094704.826.12723@wrigleys.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: noreply@postgresql.org, adamgauthier12@gmail.com
  Subject: Re: pg_dumpall examples may lead to encoding problems
  In-Reply-To: <20171227094704.826.12723@wrigleys.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