Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbufa-00067g-K0 for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2019 22:27:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hbufZ-0000Pw-Eu for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2019 22:27:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbufZ-0000Pp-38 for pgsql-hackers@lists.postgresql.org; Fri, 14 Jun 2019 22:27:37 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbufW-0001n5-4c for pgsql-hackers@postgresql.org; Fri, 14 Jun 2019 22:27:35 +0000 Received: by mail-qk1-x744.google.com with SMTP id s22so2688201qkj.12 for ; Fri, 14 Jun 2019 15:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=limI2/ufa7YGS7hE2+37M1EF0JqOriDSyHRwKwxSbHA=; b=zPW1LdP04eu1k7DYjaaRWT1E17+8oGF/V98MOH3uiEdHY8EWvIZHOk0/XObNrrCt4q GKgSRW/pN12Gnv19bPNDMc1rvnBliRJMiRlkTdVTDVKvQyPlLHQvd2/GXAuvNzs7pkCX Q9L9mz350qPNWgORqyLbBIyEYiQgo4MhBH9DOJ1j6hsPcP2e+VOd9MMPEiDnfmEe6/qx EyzJ6aSO/2JT90sXFiCqowZ4hmeYuBJyWYZIvd7q/+1P2yVt/qV4JzcaFwO+mNO/hsGM zlTjBzxMNq1Rbg1nIqs6898oV50FsBZ86p4v06jB7Qt7a0FikNXPGdho2sqgZIRKshUi QoBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=limI2/ufa7YGS7hE2+37M1EF0JqOriDSyHRwKwxSbHA=; b=hVe6Tq6hrBfNqTfm6yq7eYii7W9RNRqKVfKLm+T1qcrzLaWy0IAJ2So6pVYyFfpjG2 jAi6UEOksvvLh0PzKwRkE3lz4gGqNOVtPtuU7pUHyfcJVLBI3mM/4HMTKoN9vGdj4vvs ywKq4CCkz7j0+iqvFO9DZblFgJKZo6YRfo+qMQnQB3c7iQ3TINKizmyMVLztwZ7yQayG OkOVrk70T0kDvvlBJrAxTrgFpUWrlC7I/fKS4645YpnZynrk8yhqVTlFoMdf0RTCQggi hZD4CmDWuhZedWYUnrMZOH/mBLUEz52LT6gVcV7tKdTjOej+tECBuShdb8L2olczaYGA QmFQ== X-Gm-Message-State: APjAAAVGdBijzjXhcaUyoQFYMnNbW1n5rPgD2tvRXG+wocYAmhzrrYpY P4C1wo+FDGfCGN09pKB8l+G1vw== X-Google-Smtp-Source: APXvYqxH4iU21Saoys9M1VqBM8YfutPpwml2o1/myhyIWeQo8cvo2L2W4DqSd4gFARWGxh8bPtTh0A== X-Received: by 2002:ae9:ea06:: with SMTP id f6mr3862981qkg.262.1560551253289; Fri, 14 Jun 2019 15:27:33 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id o22sm2037069qkk.50.2019.06.14.15.27.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 15:27:32 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8741B1202C7; Fri, 14 Jun 2019 18:27:29 -0400 (-04) Date: Fri, 14 Jun 2019 18:27:29 -0400 From: Alvaro Herrera To: Fabien COELHO Cc: Peter Eisentraut , David Rowley , Surafel Temesgen , Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL-development Subject: Re: pg_dump multi VALUES INSERT Message-ID: <20190614222729.GA2080@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jun-14, Fabien COELHO wrote: > > Hello Alvaro, > > > > Shouldn't the --rows-per-insert option also be available via pg_dumpall? > > > All the other options for switching between COPY and INSERT are > > > settable in pg_dumpall. > > > > Uh, yeah, absolutely. > > > > Surafel, are you in a position to provide a patch for that quickly? > > End of the week, more time, easy enough and I should have seen the issue > while reviewing. Patch attached. Hello Fabien Thanks for producing a fix so quickly. David Rowley mentioned a couple of issues OOB (stanzas were put in the wrong places, when considering alphabetical ordering and such). It's pushed now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services