Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tOON8-0061fg-2g for pgsql-general@arkaria.postgresql.org; Thu, 19 Dec 2024 21:47:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tOON5-000PnF-Jn for pgsql-general@arkaria.postgresql.org; Thu, 19 Dec 2024 21:47:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tOON4-000Pmz-Mq for pgsql-general@lists.postgresql.org; Thu, 19 Dec 2024 21:47:50 +0000 Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tOOMz-000eKz-QF for pgsql-general@lists.postgresql.org; Thu, 19 Dec 2024 21:47:49 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.stl.internal (Postfix) with ESMTP id EE6031140167; Thu, 19 Dec 2024 16:47:43 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Thu, 19 Dec 2024 16:47:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1734644863; x=1734731263; bh=mIFDTaA0cQgGWYcKg+AYs2Os9tI/xiAB6UDn2YyLFIE=; b= C46zlZnXmSyg2Yl55HSlg2Rn8d7SUwRqYHDd/5eo+qv5Lijk3S91c/LiCcAbf9cf lpWFppELcDLLrNIYrKgN4XK7plxaePsLLrdZJKyck7dhHlByLENsJA9+IhsxUoT2 /T7GAVFaaQnsR/UabLxBKgF25PkhqajgfYa6amECR4uNdxYGQwZ1Q/0nFTngqYrG mn3ci5OoAxm1JXfNjUcaFtx1JUcxbYGatDf+FJqj4LJO7yLYcpNtrEzNiEexqLS2 OZRyfCYO4OSQD9cI6PtLFZ2gJYnhBsdRe1j9xbgJMukPYmdUJ7+1Vz4NXilcOLLS HblMa7r54IH1ToeAkgmkDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734644863; x= 1734731263; bh=mIFDTaA0cQgGWYcKg+AYs2Os9tI/xiAB6UDn2YyLFIE=; b=T d7HG31/VxBy+ZNoYJGLlVlLPSv82pVcmP61O6wRMiMuoJj8GXVqELsuD91MnRA0I FdzDhq4BiRQ1l+r8biSl5+Bm9abY9M5nTjtN2ySmERdBwJC8aMOVUP0+xiLJr+Yi JLd8djuvjxtQQqsYOFAkrhah2lB6MeoXkqLyq/so934IIBTzkvja34UFge3dT6jz mFPb82mkszCsWBYYS6HqU2j9nT6D3+SNy9QFiQXTkU0+zt0kS0vQAkzKPI30ADo3 hOCK3i/z+fRkwOYoZ0SB9YlFkzLCs6/IG8Qkf4UtPtkhOKwiAZiPwmxLUFF98G3A OBeH4sGzdBi6FSjWToQEg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddttddgudehudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpedtheeluddutdegvdel veehiedtuefffeelvdehgfefuddviedvvdduheehleejveenucffohhmrghinhepgehjsh drtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtth hopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvshgthhgvnhhonhgvsegt lhgvihhsthgvtghhrdhithdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlih hsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehmtggrthhtihestghl vghishhtvggthhdrihhtpdhrtghpthhtoheplhhpihiiiiholhhosegtlhgvihhsthgvtg hhrdhith X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Dec 2024 16:47:40 -0500 (EST) Message-ID: <54689a6a-839c-44c4-90b5-b9692e8e7cb0@aklaver.com> Date: Thu, 19 Dec 2024 13:47:39 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Intermittent errors when fetching cursor rows on PostgreSQL 16 To: Enrico Schenone , pgsql-general@lists.postgresql.org Cc: Massimo Catti , Livio Pizzolo References: <446423eb-4a4e-4135-bbb8-4d0e5c7aac3b@cleistech.it> <25d5fb16-9bb2-4ad1-969c-eaca03ccbaaf@aklaver.com> <6ce80aaa-970b-4432-938a-39a07f811599@cleistech.it> <9f60eb26-7d34-4228-bd78-74c6deb90e54@aklaver.com> <282c2a48-bb12-4486-b03d-563523cac81b@cleistech.it> <2645a89e-d661-4f2b-92b3-01154a78d535@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/19/24 11:40 AM, Enrico Schenone wrote: > Hello, my answers in line along your message ... > Thanks a lot again. > > Enrico > >> On 12/19/24 10:11, Enrico Schenone wrote: >>> Good day, Adrian. >>> I get the error inside the program by catching the exception and >>> logging it with diagnostic info provided by the DVM (a runtime >>> interpreter similar in concept to a JVM) that embed the PG driver. >> > The 4Js DVM (Dynamic Virtual Machine) is that one > https://4js.com/online_documentation/fjs-gas-manual-html/index.html#gas-topics/c_gas_what_is_dvm.html > >> In other words an Android client? >> > No, it is a runtime interpreter for Linux, Windows, IBM AIX, macOS and > other unix-like OSs. It ensures the portability of 4Js Genero compiled > programs (p-code) on several OS platforms. > 4Js Genero is a Low Code Application Platform. The programming language, > named "BDL - Business Development Language", is an evolution of the > Informix-4gl. > Compiled programs needs a runtime interpreter (DVM) to be executed. > The DVM embeds at low-level the DB drivers provided by several vendors, From previous post you mentioned: "Four Js support said and at BDL high level the application program can easily connect to the > major DBs on the market thanks to its ODI (Open Database Interface). >>> I can't give you info on what the DVM does at low level, but I can >>> send you the distinct full session log fragment at server side, where >>> it is quite easy to understand how the DVM translates the program's >>> SQL queries end what PostgreSQL does. >> >> That might be useful. >> > Please take a look to the attached text file, that is the full failing > session log (filtered from the debug5 PostgreSQL server log). This is where it falls off the rails, but I can't see why?: 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 LOCATION: ShowTransactionStateRec, xact.c:5510 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 STATEMENT: fetch forward 50 from cu6 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 LOG: 00000: statement: fetch forward 50 from cu6 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 LOCATION: exec_simple_query, postgres.c:1073 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 DEBUG: 00000: CommitTransaction(1) name: unnamed; blockState: STARTED; state: INPROGRESS, xid/subid/cid: 0/1/0 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 LOCATION: ShowTransactionStateRec, xact.c:5510 2024-12-16 17:27:14.406 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17900000676054e0.21cb42 STATEMENT: fetch forward 50 from cu6 2024-12-16 17:27:14.407 CET [2214722] cleistech@hh24odds_prod - 192.168.16.17908006676054e0.21cb42 LOG: 08006: could not receive data from client: Connessione interrotta dal corrispondente >>> Thanks again and best regards. >>> Enrico -- Adrian Klaver adrian.klaver@aklaver.com