Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iOjqa-0006Ph-Ui for pgsql-general@arkaria.postgresql.org; Sun, 27 Oct 2019 14:48:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iOjqZ-0008Gm-Mh for pgsql-general@arkaria.postgresql.org; Sun, 27 Oct 2019 14:48:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iOjnH-00026Q-Qa for pgsql-general@lists.postgresql.org; Sun, 27 Oct 2019 14:45:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iOjnE-0002FL-4j for pgsql-general@postgresql.org; Sun, 27 Oct 2019 14:45:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9REjEgf009204; Sun, 27 Oct 2019 10:45:14 -0400 From: Tom Lane To: Michael Paquier cc: Adrian Klaver , ZhenHua Cai , pgsql-general@postgresql.org Subject: Re: PostgreSQL - unrecognized win32 error code: 38 In-reply-to: <20191027045252.GB2437@paquier.xyz> References: <599509ce-586a-373f-2ad2-de6aea0c77e9@aklaver.com> <20191027045252.GB2437@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Sun, 27 Oct 2019 13:52:52 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9202.1572187514.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 27 Oct 2019 10:45:14 -0400 Message-ID: <9203.1572187514@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Sat, Oct 26, 2019 at 11:02:26AM -0700, Adrian Klaver wrote: >> Not sure how that can be answered without knowing what ComputeComputer = is >> doing? > Yes, there is nothing of this kind in the PostgreSQL code. Sure there is: win32error.c produces exactly that message if its mapping table has no entry for the Windows error code. According to https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0= -499-?redirectedfrom=3DMSDN code 38 decimal is ERROR_HANDLE_EOF, "Reached the end of the file.", which indeed is not in the doserrors[] table. But that just deepens the mystery --- if we hit an EOF, why wasn't that handled through more-normal channels? We still need to know what that function was trying to do, and whether any non-core C code was involved. regards, tom lane