Re: pg_ctl configurable timeout - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_ctl configurable timeout
Date
Msg-id 6407.1193691939@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_ctl configurable timeout  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Bruce Momjian wrote:
>> How about an environment variable to control the timeout?  Is that
>> cleaner?

> I don't see why it should be. I think Peter's --timeout suggestion 
> should be just fine.

I wrote a moment ago that the user can hit control-C when he gets bored,
but that argument only works for interactive use of pg_ctl.  In a script
I think you'd want a --timeout option.  I don't see the advantage of
an environment variable in either scenario.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pg_ctl configurable timeout
Next
From: Tom Lane
Date:
Subject: Re: pg_ctl configurable timeout