Return-Path: mao
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA26207; Thu, 11 Jun 92 08:57:42 -0700
Message-Id: <9206111557.AA26207@postgres.Berkeley.EDU>
From: <mao@postgres.berkeley.edu>
Subject: Re: the (undocumented) -Q flag to the monitor
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of Thu, 11 Jun 92 17:38:41 +0100.
             <9206111543.AA26052@postgres.Berkeley.EDU> 
Date: Thu, 11 Jun 92 08:57:08 PDT

In message <9206111543.AA26052@postgres.Berkeley.EDU> you write:

>     while ((c = getopt(argc, argv, "h:p:t:o:d:qTNQ:c:")) != EOF) {
>
> PPS. Why "EOF" and not "-1"?

because getopt is documented to return EOF, not -1.  the fact that they
happen to be the same is convenient for people who use -1.

you're correct that -Q takes no argument.  i've installed your fix in
the code we ship.
					mike
