Skip site navigation (1) Skip section navigation (2)

Re: 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: startup failure patch
Date: 2002-01-03 15:28:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Jason Tishler <jason(at)tishler(dot)net> writes:
> Unfortunately, fails under Cygwin as follows:
> The attached patch "solves" the problem.

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 didn't much care for the arbitrary delay in the first place, and
raising it to 10 sec is even less palatable.  Perhaps

	until psql ...args... </dev/null 2>/dev/null
		sleep 1

although it might also be prudent to refuse to loop more than a couple
dozen times.

			regards, tom lane

In response to


pgsql-patches by date

Next:From: Dave PageDate: 2002-01-03 15:53:11
Subject: Re: startup failure patch
Previous:From: Gavin SherryDate: 2002-01-03 15:27:03
Subject: Re: [HACKERS] Updated TODO item

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group