psql -p 5433; create database test; \c test failing

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема psql -p 5433; create database test; \c test failing
Дата
Msg-id 684362e10603110113h41e088b5q@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql -p 5433; create database test; \c test failing
unsubscribe
Список pgsql-admin
Hi,

this is from HEAD of a few days ago, it looks suspicious to me.
8.2devel runs on port 5433.

markus@katerina2:~/pgsql$ bin/psql -p 5433 template1 markus
Welcome to psql 8.2devel, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

template1=# create database test;
CREATE DATABASE
template1=# \c test
could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Previous connection kept

Why is it trying to use 5432? Am I missing something?

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

Предыдущее
От: "Pachipulusu Kalyan Sri Krishna Apparao"
Дата:
Сообщение: unsubscribe
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: psql -p 5433; create database test; \c test failing