mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pg_dumpall: Add a -E flag to set the encoding, like pg_dump has.
Michael Paquier, reviewed by Fabien Coelho Discussion: http://postgr.es/m/CAB7nPqQcYWmrm2n-dVaMUhYPKFU_DxQwPuUGuC4ZF+8B=dS5xQ@mail.gmail.com
This commit is contained in:
@ -99,6 +99,19 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-E <replaceable class="parameter">encoding</replaceable></option></term>
|
||||
<term><option>--encoding=<replaceable class="parameter">encoding</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Create the dump in the specified character set encoding. By default,
|
||||
the dump is created in the database encoding. (Another way to get the
|
||||
same result is to set the <envar>PGCLIENTENCODING</envar> environment
|
||||
variable to the desired dump encoding.)
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-f <replaceable class="parameter">filename</replaceable></option></term>
|
||||
<term><option>--file=<replaceable class="parameter">filename</replaceable></option></term>
|
||||
|
Reference in New Issue
Block a user