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