X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D61D3476495 for ; Tue, 6 May 2003 14:53:09 -0400 (EDT) Received: from web21108.mail.yahoo.com (web21108.mail.yahoo.com [216.136.227.110]) by postgresql.org (Postfix) with SMTP id D8C5D47652E for ; Tue, 6 May 2003 14:53:06 -0400 (EDT) Message-ID: <20030506185306.53090.qmail@web21108.mail.yahoo.com> Received: from [208.253.218.33] by web21108.mail.yahoo.com via HTTP; Tue, 06 May 2003 11:53:06 PDT Date: Tue, 6 May 2003 11:53:06 -0700 (PDT) From: Shankar K Subject: Re: problems in connection To: pgsql-admin@postgresql.org In-Reply-To: <20030506183611.33812.qmail@web21106.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-15.0 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,FROM_ENDS_IN_NUMS,IN_REP_TO, MAILTO_TO_SPAM_ADDR autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/65 X-Sequence-Number: 8627 Please ignore..my fault i should have used psql template1 -p 5433 thanks anyways. --- Shankar K 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