Neil Conway <neilc(at)samurai(dot)com> writes:
> One question about behavior: in the attached patch, omitting an argument
> to \connect or specifying "-" are treated equivalently -- the value for
> that parameter from the previous connection is used, otherwise NULL (for
> the libpq default). Is this what people want?
Yes, that's the behavior I'd expect. The traditional \c behavior for
the two longstanding options (dbname and username) was exactly that,
no?
regards, tom lane