On Tue, Dec 22, 2009 at 4:57 PM, David Kerr <dmk@xxxxxxxxxxxxxx> wrote: > Howdy all > > I changed the default port for Postgresql. > > Now, when I want to access postgresql via psql (on the db server), > is there a way to make it default to the new port without using -p > or a .psqlrc file? You can set an envvar: export PGPORT=5433 etc... -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general