pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: ZhenHua Cai <zhhua.cai@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: PostgreSQL - unrecognized win32 error code: 38
Date: Sun, 27 Oct 2019 10:45:14 -0400
Message-ID: <9203.1572187514@sss.pgh.pa.us> (raw)
In-Reply-To: <20191027045252.GB2437@paquier.xyz>
References: <CABuU89MfEvJE=Wif+Hk7SCqjSOF4rhgwJWW6aR3hjojpGqFbjQ@mail.gmail.com>
	<599509ce-586a-373f-2ad2-de6aea0c77e9@aklaver.com>
	<20191027045252.GB2437@paquier.xyz>

Michael Paquier <michael@paquier.xyz> 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=MSDN

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





view thread (9+ messages)  latest in thread

Message-ID: <9203.1572187514@sss.pgh.pa.us>
Permalink:  ../9203.1572187514@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9203.1572187514@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, adrian.klaver@aklaver.com, zhhua.cai@gmail.com
  Subject: Re: PostgreSQL - unrecognized win32 error code: 38
  In-Reply-To: <9203.1572187514@sss.pgh.pa.us>
  References: <CABuU89MfEvJE=Wif+Hk7SCqjSOF4rhgwJWW6aR3hjojpGqFbjQ@mail.gmail.com> <599509ce-586a-373f-2ad2-de6aea0c77e9@aklaver.com> <20191027045252.GB2437@paquier.xyz> <9203.1572187514@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox