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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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!

Attachment Content-Type Size
psql_host_port.diff text/plain 10.7 KB

Responses

Browse pgsql-patches by date

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