Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYoqU-0007Xq-Ie for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 10:42:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYoqT-0008G4-Fp for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 10:42:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYoqS-0008Fx-Ph for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 10:42:37 +0000 Received: from resqmta-ch2-06v.sys.comcast.net ([2001:558:fe21:29:69:252:207:38]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYoqP-00042q-IF for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 10:42:36 +0000 Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-06v.sys.comcast.net with ESMTP id Yoo3jUGVnaccEYoqJjcfej; Wed, 13 May 2020 10:42:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1589366547; bh=Ifm9sYHBLhXAuFkMOoY7/eqPDsBeTyPwhOEoj1nuLpE=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=UxU1BmUjpdv6AwCP1hv/FJHgiJq2KgpwwXL2huCniE3LEe3nz/CBFwxOzctOYlsAR JYwFXeMAhVBboBTJMw94riYvpKTBZcCk4cCFlE6h1JGT9YAKlqqA2J1wzc9ZsVemss bR+ZbBTqUYlu77DCnj4tq6o46zNSPCHVL29xlMOI4PDNMySfsta/dwfFv9cBzmo//U pRUjPtL3Ii9gOyBo2nt4aFao4fj2Re4uph5uj1LxV8rtIq+g8Sqx6dAPaSAKTCSsd9 SV6x9bb06IlqB+nBecGsx/7hQiydJvs2qGtCXsz1pRxa92Z/3Ki9g00pkAb8b13gCv KrxtybR+BNOAA== Received: from Ravis-MacBook-Pro.local ([IPv6:2601:84:4501:7e0:94a9:41b2:51e9:a862]) by resomta-ch2-05v.sys.comcast.net with ESMTPSA id YoqIjrSmCx2X8YoqIjF1ZU; Wed, 13 May 2020 10:42:27 +0000 X-Xfinity-VMeta: sc=0.00;st=legit Subject: Re: ESQL/C: a ROLLBACK rolls back a COMMITED transaction To: pgsql-general@lists.postgresql.org References: <20200512145352.GA32335@sh4-5.1blu.de> <23100.1589298880@sss.pgh.pa.us> <20200512191429.GB32335@sh4-5.1blu.de> <9dbc6477-f9a2-b62a-e011-0983fe150741@aklaver.com> <20200512235207.GA3420@sh4-5.1blu.de> <20200513053405.GB26063@sh4-5.1blu.de> <20200513101301.GC26063@sh4-5.1blu.de> From: Ravi Krishna Message-ID: Date: Wed, 13 May 2020 06:42:25 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200513101301.GC26063@sh4-5.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > the pgm does an INSERT, after this the row is there and can be seen > with SELECT; than I CLOSE a non existing cursor, which rolls back > the INSERTed data: I have not done coding in ESQL/C in a long time, but shouldn't that be expected as any error should trigger a rollback.