Skip site navigation (1) Skip section navigation (2)

psql patch: new host/port without leaving session

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: psql patch: new host/port without leaving session
Date: 2005-12-14 00:29:43
Message-ID: 20051214002943.GB7463@fetter.org (view raw or flat)
Thread:
Lists: pgsql-patches
Folks,

Please find enclosed a patch that lets you use \c to connect
(optionally) to a new host and port without exiting psql.  This
eliminates, IMHO, a surprise in that you can now connect to PostgreSQL
on a differnt machine from the one where you started your session.
This should help people who use psql as an administrative tool.

Cheers,
D
-- 
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 415 235 3778

Remember to vote!

Responses

pgsql-patches by date

Next:From: Neil ConwayDate: 2005-12-14 02:35:48
Subject: Re: TODO item: list prepared queries
Previous:From: Simon RiggsDate: 2005-12-13 22:31:29
Subject: Re: Inherited Constraints

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group