mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add pg_dumpall --rows-per-insert
Commit 7e413a0f82
added that option to pg_dump, but neglected to teach
pg_dumpall how to pass it along. Repair.
Author: Fabien Coelho
Reported-by: Peter Eisentraut
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/45f50c59-ddbb-8cf2-eedb-81003f603528@2ndquadrant.com
This commit is contained in:
@ -501,6 +501,20 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--rows-per-insert=<replaceable class="parameter">nrows</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump data as <command>INSERT</command> commands (rather than
|
||||
<command>COPY</command>). Controls the maximum number of rows per
|
||||
<command>INSERT</command> command. The value specified must be a
|
||||
number greater than zero. Any error during reloading will cause only
|
||||
rows that are part of the problematic <command>INSERT</command> to be
|
||||
lost, rather than the entire table contents.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--use-set-session-authorization</option></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user