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 1pbk4V-0002Cu-DC for pgsql-general@arkaria.postgresql.org; Mon, 13 Mar 2023 15:26:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pbk4U-0003ay-2Q for pgsql-general@arkaria.postgresql.org; Mon, 13 Mar 2023 15:26:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pbk4T-0003ap-Oa for pgsql-general@lists.postgresql.org; Mon, 13 Mar 2023 15:26:45 +0000 Received: from smtp.burggraben.net ([88.198.69.140]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pbk4Q-0005rs-R6 for pgsql-general@postgresql.org; Mon, 13 Mar 2023 15:26:44 +0000 Received: from squirrel.exwg.net (p57a63a9b.dip0.t-ipconnect.de [87.166.58.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "squirrel.exwg.net", Issuer "R3" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id 7A725C00313; Mon, 13 Mar 2023 16:26:40 +0100 (CET) Received: by squirrel.exwg.net (Postfix, from userid 1000) id 2B9A047C568; Mon, 13 Mar 2023 16:26:40 +0100 (CET) Date: Mon, 13 Mar 2023 16:26:40 +0100 From: Christoph Moench-Tegeder To: Raivo Rebane Cc: pgsql-general@postgresql.org Subject: Re: Binary large object processing problems Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.5 (2021-01-21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ## Raivo Rebane (raivore55@gmail.com): > Can anybody help me find where is my mistake an what is working solution ? The documentation clearly states "All large object manipulation using these functions must take place within an SQL transaction block" https://www.postgresql.org/docs/current/lo-interfaces.html but I couldn't see anything of thank kind in your code. Regards, Christoph -- Spare Space.