using psql after you change the default port

From: David Kerr <dmk(at)mr-paradox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: using psql after you change the default port
Date: 2009-12-22 23:57:20
Message-ID: 20091222235720.GA18657@mr-paradox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

I sort of assumed that psql connected via a local pipe and not a port.

Thanks

Dave

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-12-23 00:01:45 Re: using psql after you change the default port
Previous Message Antonio Sobalvarro 2009-12-22 23:43:19 Re: relation pg_autovacuum does not exist in postgresql 8.4.2