Re: using psql after you change the default port

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: using psql after you change the default port
Дата
Msg-id 1261526806.3532.32.camel@jd-desktop.iso-8859-1.charter.com
обсуждение исходный текст
Ответ на using psql after you change the default port  (David Kerr <dmk@mr-paradox.net>)
Список pgsql-general
On Tue, 2009-12-22 at 15:57 -0800, David Kerr 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?
>

Not that I know of.

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

The socket is named... .s.PGSQL.<port>, thus it still needs to know.

Joshua D. Drake




--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
Respect is earned, not gained through arbitrary and repetitive use or Mr. or Sir.


В списке pgsql-general по дате отправления:

Предыдущее
От: Jayadevan M
Дата:
Сообщение: PostgreSQL and character set change
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: using psql after you change the default port