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 1mQsGJ-00047T-2D for pgsql-general@arkaria.postgresql.org; Thu, 16 Sep 2021 14:21:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQsGG-000299-QO for pgsql-general@arkaria.postgresql.org; Thu, 16 Sep 2021 14:21:12 +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 1mQsGF-000291-RF for pgsql-general@lists.postgresql.org; Thu, 16 Sep 2021 14:21:12 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQsGC-0004jo-Jt for pgsql-general@lists.postgresql.org; Thu, 16 Sep 2021 14:21:11 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 680655C01B0; Thu, 16 Sep 2021 10:21:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 16 Sep 2021 10:21:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=n i+rt8EK6ImFfM5OHTjiASyhGWOmnoca87BaoTbzqR8=; b=ukH7OFhakCBFB5Ny7 f57SAosZ4LBZolsiZraih1pOaFD6/emNETrbghG38pwVIc4HRMc3TG7sxTnLBJDZ 4VUpK+f7/R/5PcPBa+46dZF7mUj8neU+ltPPHf7Gui1PVLOor5MMyH5ea5/HO8Wv H4OzZoRuXZzroaze6zmkgrusEMbPnL6fFiufEiPbhis7OtQuwPGs2Y5GtUotgTIp D26mUl2AaYapxEFsUXRw64GLU8MP4sCWPnEl4sBuZY3QlQCTa0JDnWNCcBK7PqT/ 1cc0I3OcJTCLaWboX05fL7g42CNtmNP63XmLe/n7q+QFgBAZqyklsoLmseTZMU1o exNVA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=ni+rt8EK6ImFfM5OHTjiASyhGWOmnoca87BaoTbzq R8=; b=X55PDB8ntuL+wP2esACO/eYNJG7PwtzBQJoRbTvlD6E6R3Oz9r/6NU30M 1vvKp/t/DYY3/2dyo4dNp3bj7u436MXWSCwA+jyzMoRB3OfrqkrCf3aH1O2PX43P GXXSJXGfpWTnqrmq8HHgQK2cK9nEfj/neCdWMv6OkvKBujtkPsVTuJjFxTpeIAQt 4O/nxI3qEwCLAhb0JdtYqZzCaogUiNp4+ihQ+uC5a/dcUsk1c9sek0OBL2gLWpWr uycVgq/dzdk36lGKGtPgab7md22bFwR/fsljYDI6nnR/UNyh3REAkj/awMi5sd6B WnCDkSyk0DUwfdtq9VXEW2FpOUykg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehgedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeetjedvteffjeeuvdelieeffeehuedthffgvdfhhffh kedvudevgedvjedufefgveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Sep 2021 10:21:05 -0400 (EDT) Subject: Re: autocommit for multi call store procedure To: Trang Le , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Thu, 16 Sep 2021 07:21:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/16/21 12:36 AM, Trang Le wrote: > Hi guys, > > I am using pgadmin4 to interact with Postgres database. For now I would > like to run 2 store procedure (those have commit statement in begin end > block). I enable autocommit and run call 2 store procedures at the same > time. However, there is an error with invalid transaction termination. > > Could you help me on this issue? Maybe but will need to see: 1) The content of the procedures. 2) The manner in which they are called. 3) The actual complete error message. > > Thanks, > Trang -- Adrian Klaver adrian.klaver@aklaver.com