Michael Glaesemann <grzm(at)myrealbox(dot)com> writes:
> On Dec 9, 2005, at 18:10 , David Fetter wrote:
>> Please find enclosed a patch that lets you use \c to connect
>> (optionally) to a new host and port without exiting psql.
> I'm not familiar enough with the psql code to be able to tell, but is
> this secure? The pg_hba.conf on the new server is enforced, I assume?
No, security is the server's problem.
What's not clear to me about this patch is what's the point. It's
certainly not a feature we've heard any requests for.
regards, tom lane