Search Postgresql Archives

Adding the host name to the PgSQL shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I work on a development and production server, and I am always double-checking myself to make sure I am doing something on the right server.

Is there a way, like in terminal shells, to change the PgSQL shell's prompt from 'db=>' to something like 'host@db=>'? I'm on PgSQL 8.1 (server on Debian) and 8.3 (devel on Ubuntu), in case it matters.

Thanks all!

Madi

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux