pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shankar K <shan0075@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: problems in connection
Date: Tue, 6 May 2003 11:53:06 -0700 (PDT)
Message-ID: <20030506185306.53090.qmail@web21108.mail.yahoo.com> (raw)
In-Reply-To: <20030506183611.33812.qmail@web21106.mail.yahoo.com>

Please ignore..my fault

i should have used psql template1 -p 5433 

thanks anyways.

--- Shankar K <shan0075@yahoo.com> wrote:
> hi, 
> 
> not sure what am missing here. i have 2 database
> clusters in a same machine running on different
> ports.
> each have a separate PGDATA dir.
> 
> now if you do 
> 
> [postgres@ base]$ oid2name -p 5433
> All databases:
> ---------------------------------
> 1      = template1
> 16975  = template0
> 
> -- this is from one of the db cluster running on
> 5433
> port. looks good.
> 
> [postgres@ base]$ oid2name
> All databases:
> ---------------------------------
> 16981  = testdb
> 1      = template1
> 16975  = template0
> 
> -- this is another db cluster running on 5432
> default
> port. look good too.
> 
> [postgres@ base]$ psql -l    
>          List of databases
>     Name    |  Owner   | Encoding  
> ------------+----------+-----------
>  template0  | postgres | SQL_ASCII
>  template1  | postgres | SQL_ASCII
>  testdb     | postgres | SQL_ASCII
> (3 rows)
> 
> [postgres@ base]$ psql -l -p 5433
>         List of databases
>    Name    |  Owner   | Encoding  
> -----------+----------+-----------
>  template0 | postgres | SQL_ASCII
>  template1 | postgres | SQL_ASCII
> (2 rows)
> 
> but when i try to login to the database cluster
> thats
> listening on 5433, i end up with the error.
> 
> [postgres@ base]$ psql -p 5433
> psql: FATAL:  Database "postgres" does not exist in
> the system catalog.
> 
> any clues as to what am missing here.
> 
> thanks,
> Shankar.
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com




view thread (3+ messages)  latest in thread

Message-ID: <20030506185306.53090.qmail@web21108.mail.yahoo.com>
Permalink:  ../20030506185306.53090.qmail@web21108.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030506185306.53090.qmail@web21108.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: shan0075@yahoo.com
  Subject: Re: problems in connection
  In-Reply-To: <20030506185306.53090.qmail@web21108.mail.yahoo.com>
  References: <20030506183611.33812.qmail@web21106.mail.yahoo.com> <20030506185306.53090.qmail@web21108.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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