Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5dmU-0006ef-NQ for pgsql-general@arkaria.postgresql.org; Mon, 29 Dec 2014 17:06:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y5dmT-0003GK-KW for pgsql-general@arkaria.postgresql.org; Mon, 29 Dec 2014 17:06:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y5dmN-00034I-AU for pgsql-general@postgresql.org; Mon, 29 Dec 2014 17:06:51 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y5dmJ-0002Ga-6J for pgsql-general@postgresql.org; Mon, 29 Dec 2014 17:06:48 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 9B539208BF for ; Mon, 29 Dec 2014 12:06:46 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 29 Dec 2014 12:06:46 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= x-sasl-enc:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=gxhWaafLuP0DL8SHkNbsEyWRVTc=; b=SzqThQvhKq+3HiHQMM eCknrhQ1Trzejc+dXuNxS4p1BCbPnptGSERIs3mkDJh5ZJYV9HOsKDqp32gDSfwD VeCwk+X53KDFpiJON5sWjt/AlMn6PkKKZvB30vVzzXo3+NWB8DgPHnF51ETq/NkX 0bgo2HMxXQe/BtgWf6VhYFlQk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=gxhWaafLuP0DL8SHkNbsEy WRVTc=; b=gmJGaTr1ZCbhw1lkQvucoAkvd6YC0Z3WN3Rl29KN68X+ZDf2t8DYOp YIotlRAJaTdqsd+hQrrwdxdQ99lt1O0Kk2yXW/LKlZZldvi6rXe4sKkdNrA7bMKx hUbrUWVW2JhC4chkxyjD3gHQMfpn+2MCtZG5gNLHmrS0/zBlzAXV0= X-Sasl-enc: 18JjraQsG31kIxnmm/JvV5yiwHjBBTjZTLkrgPDEZPMd 1419872806 Received: from [192.168.1.2] (unknown [174.21.251.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 19359C0027F; Mon, 29 Dec 2014 12:06:46 -0500 (EST) Message-ID: <54A18A25.50303@aklaver.com> Date: Mon, 29 Dec 2014 09:06:45 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: David Johnston CC: "pgsql-general@postgresql.org" Subject: Re: Rollback on include error in psql References: <54A01E44.9050105@aklaver.com> <54A06C58.2020009@aklaver.com> <1419815044308-5832233.post@n5.nabble.com> <54A17800.1010700@aklaver.com> <54A183C5.1080500@aklaver.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 12/29/2014 08:49 AM, David Johnston wrote: > On Mon, Dec 29, 2014 at 9:39 AM, Adrian Klaver > >wrote: > > On 12/29/2014 07:59 AM, David Johnston wrote: > > > Anyway, the third undocumented bug is that --single-transactions > gets to > send its COMMIT even if ON_ERROR_STOP​ > ​takes hold before the end of the script. I imagined it such > that only > if every statement in the "-f