Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5iTq-0000Rx-Kn for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Dec 2014 22:08:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y5iTq-0002ho-4Y for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Dec 2014 22:08:02 +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 1Y5iTo-0002hb-VP for pgsql-bugs@postgresql.org; Mon, 29 Dec 2014 22:08:01 +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 1Y5iTl-0007mA-Am for pgsql-bugs@postgresql.org; Mon, 29 Dec 2014 22:07:59 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5879720B3A for ; Mon, 29 Dec 2014 17:07:56 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 29 Dec 2014 17:07:56 -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=XOhYlsBFZcggw7cP9OpHN4dOw7s=; b=M3rJePLpjdIFtFE+zN cBiaKN4XDYe0FxgczHpi65dvEZ+PTD0cGTU+4lrUs6KZDbyUWUVR4cWbZqf2K19L 0igQHMCdLR6wuJyltHY/Mh7qHWJ/rZAiErgLMa4el36A87w1awfpDeN/jpMBINDH +N/+ZSjpEBR4Kj6aQHDzxL9U0= 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=XOhYlsBFZcggw7cP9OpHN4 dOw7s=; b=NLFn9whaJonS4QzLYNbU5p9sK/kodiqveKQT+sUqZ39t+uS1wD5+7U pYzyY1TBid5zM9zH4Olj/eG18bKA85nz/tIVCYG+DBFereOXO9wuB+OsEEDEUHmo gsptWgLjuXuj9K6hucW49l1wAJPOuREqA5FV0QdhcusqEtGVLok+g= X-Sasl-enc: KFGtD9fxZ6b/o3limyKxxeRdhdTS+s8YjsHMWRNpgAzi 1419890876 Received: from killi.site (unknown [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id BF4BBC00283; Mon, 29 Dec 2014 17:07:55 -0500 (EST) Message-ID: <54A1D0BA.4080609@aklaver.com> Date: Mon, 29 Dec 2014 14:07:54 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: David Johnston CC: "pgsql-general@postgresql.org" , "pgsql-bugs@postgresql.org" Subject: Re: [GENERAL] 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> <54A18A25.50303@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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 12/29/2014 09:38 AM, David Johnston wrote: > Copying -bugs to gain broader attention and opinions. > > On Mon, Dec 29, 2014 at 10:06 AM, Adrian Klaver > >wrote: > > 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