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

From: "Markus Bertheau" <mbertheau(dot)pg(at)googlemail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: psql -p 5433; create database test; \c test failing
Date: 2006-03-11 10:13:50
Message-ID: 684362e10603110213s6965069bs@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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

markus(at)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? Is that the
expected behaviour?

Michael Fuhr hinted that
http://archives.postgresql.org/pgsql-committers/2006-02/msg00139.php
may be the cause of that.

Markus Bertheau

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Glaesemann 2006-03-11 10:31:02 Re: psql -p 5433; create database test; \c test failing
Previous Message Stefan Kaltenbrunner 2006-03-11 08:55:09 Re: random observations while testing with a 1,8B row table