Please find enclosed a patch that lets you use \c to connect
Bruce Momjian <bruce@momjian.us>
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. David Fetter
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +5 −3 |
| src/bin/psql/command.c | modified | +87 −23 |
| src/bin/psql/help.c | modified | +2 −2 |