Re: pg_regress.sh startup failure patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jason Tishler <jason(at)tishler(dot)net>
Cc: Pgsql-Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_regress.sh startup failure patch
Date: 2002-01-03 16:47:06
Message-ID: 13227.1010076426@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Jason Tishler <jason(at)tishler(dot)net> writes:
>> Why would it take more than 3 seconds to start the postmaster under
>> Cygwin? Something awfully fishy about that, unless you're using
>> a 286 ...

> I never had this problem before on my home server machine (PIII 500 MHz)
> with previous PostgreSQL versions. However, on my work laptop (also
> PIII 500 MHz, but virus software, slow disk, etc.), PostgreSQL CVS just
> needs more time to start up.

Hm. That deserves investigation, but it seems not high priority
compared to getting a release out.

>> I didn't much care for the arbitrary delay in the first place, and
>> raising it to 10 sec is even less palatable.

> Agreed on both accounts -- I detest open loop solutions myself.
> I was going to suggest the retry strategy, but I wasn't sure that such a
> patch would be accepted at this time. How should I proceed?

Code up a patch, test it, send in a diff ... I think the only real risk
here is to be careful not to write anything unportable. I believe that
"until" loops exist even in very old Bourne shells, does anyone think
differently?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-01-03 17:21:11 Re: Updated TODO item
Previous Message Jason Tishler 2002-01-03 16:42:15 Re: pg_regress.sh startup failure patch