Re: pgwin32_open returning EINVAL

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Zeugswetter Andreas ADI SD <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gregory Stark <stark(at)enterprisedb(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgwin32_open returning EINVAL
Date: 2007-12-19 15:52:26
Message-ID: 20071219155226.GS11226@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 19, 2007 at 04:44:12PM +0100, Magnus Hagander wrote:
> On Wed, Dec 19, 2007 at 04:20:23PM +0100, Zeugswetter Andreas ADI SD wrote:
> >
> > > > Yeah, I think it would be useful to log one message if after (say) 5
> > > > seconds we still haven't been able to open the file.
> > >
> > > Either that, or on the first run.
> >
> > Imho 1-5s is better, so that would be after the 10-50th try.
>
> Ok, so I'll put in a warning after 50 tries.

Updated version attached. Comments on the wording of the messages are also
welcome ;-)

//Magnus

Attachment Content-Type Size
win32open.patch text/plain 2.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-12-19 15:54:07 Re: Sorting Improvements for 8.4
Previous Message Teodor Sigaev 2007-12-19 15:49:48 Re: Benchmark for GiST index?