pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql -p 5433; create database test; \c test failing
4+ messages / 2 participants
[nested] [flat]

* psql -p 5433; create database test; \c test failing
@ 2006-03-11 09:13  Markus Bertheau <mbertheau.pg@googlemail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Markus Bertheau @ 2006-03-11 09:13 UTC (permalink / raw)
  To: 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?



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: psql -p 5433; create database test; \c test failing
@ 2006-03-11 09:41  Michael Fuhr <mike@fuhr.org>
  parent: Markus Bertheau <mbertheau.pg@googlemail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Michael Fuhr @ 2006-03-11 09:41 UTC (permalink / raw)
  To: Markus Bertheau <mbertheau.pg@googlemail.com>; +Cc: pgsql-admin

On Sat, Mar 11, 2006 at 03:13:49PM +0600, Markus Bertheau wrote:
> 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?

Do you have the PGPORT environment variable set to 5432?

-- 
Michael Fuhr



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: psql -p 5433; create database test; \c test failing
@ 2006-03-11 09:46  Markus Bertheau <mbertheau.pg@googlemail.com>
  parent: Michael Fuhr <mike@fuhr.org>
  1 sibling, 0 replies; 4+ messages in thread

From: Markus Bertheau @ 2006-03-11 09:46 UTC (permalink / raw)
  To: Michael Fuhr <mike@fuhr.org>; +Cc: pgsql-admin

2006/3/11, Michael Fuhr <mike@fuhr.org>:

> Do you have the PGPORT environment variable set to 5432?

No.

Markus



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: psql -p 5433; create database test; \c test failing
@ 2006-03-11 09:49  Michael Fuhr <mike@fuhr.org>
  parent: Michael Fuhr <mike@fuhr.org>
  1 sibling, 0 replies; 4+ messages in thread

From: Michael Fuhr @ 2006-03-11 09:49 UTC (permalink / raw)
  To: Markus Bertheau <mbertheau.pg@googlemail.com>; +Cc: pgsql-admin

On Sat, Mar 11, 2006 at 02:41:50AM -0700, Michael Fuhr wrote:
> On Sat, Mar 11, 2006 at 03:13:49PM +0600, Markus Bertheau wrote:
> > Why is it trying to use 5432? Am I missing something?
> 
> Do you have the PGPORT environment variable set to 5432?

This commit looks like it might be relevant:

http://archives.postgresql.org/pgsql-committers/2006-02/msg00139.php

Discussions of development code should probably be on -hackers.

-- 
Michael Fuhr



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2006-03-11 09:49 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-11 09:13 psql -p 5433; create database test; \c test failing Markus Bertheau <mbertheau.pg@googlemail.com>
2006-03-11 09:41 ` Michael Fuhr <mike@fuhr.org>
2006-03-11 09:46   ` Markus Bertheau <mbertheau.pg@googlemail.com>
2006-03-11 09:49   ` Michael Fuhr <mike@fuhr.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox