pg_dump multi VALUES INSERT

From: Surafel Temesgen <surafel3000(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump multi VALUES INSERT
Date: 2018-10-16 16:17:11
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers


According to the documentation –inserts option is mainly useful for making
dumps that can be loaded into non-PostgreSQL databases and to reduce the
amount of rows that might lost during error in reloading but multi values
insert command are equally portable and compact and also faster to reload
than single row statement. I think it deserve an option of its own

The patch attached add additional option for multi values insert statement
with a default values of 100 row per statement so the row lose during error
is at most 100 rather than entire table.




Attachment Content-Type Size
multi_values_inserts_dum_v1.patch text/x-patch 14.5 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-10-16 16:19:55 Re: Large writable variables
Previous Message Andres Freund 2018-10-16 16:06:12 Re: Large writable variables