pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rakesh <rakesh@cygnus.stpp.soft.net>
To: Anagha Joshi <ajoshi@nulinkinc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres user
Date: Fri, 30 May 2003 11:09:47 +0530
Message-ID: <007a01c3266d$e24fb0b0$0a00a8c0@cygnus.com> (raw)
References: <FF851C7EEB75954F9BCFB5CA117AB1EC092818@delta.nulinkinc.com>

Hello,

I don't think you are providing the database name along with psql command as "postgres" user.
bash-2.05$ psql <database name>      (  is an appropriate syntax. )

What you see is this=>
++++++++++++++++++++++++++++++++++++++++++++++++++++
bash-2.05$ psql
psql: FATAL 1:  Database "postgres" does not exist in the system catalog.
bash-2.05$ psql template1 
Welcome to psql, the PostgreSQL interactive terminal.

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

template1=# \q

++++++++++++++++++++++++++++++++++++++++++++++++++++

regards,
Rakesh P.
  ----- Original Message ----- 
  From: Anagha Joshi 
  To: pgsql-admin@postgresql.org 
  Sent: Friday, May 30, 2003 10:26 AM
  Subject: [ADMIN] postgres user


  Hi, 

  I've installed Postgres-7.3.2 on Linux. When I'm trying to start 'psql' as user 'postgres', I found error :

  psql: FATAL 1:  Database "postgres#" does not exist in the system catalog.

   

  /etc/passwd shows entry like this:

  postgres:x:1078:1:PostgreSQL-administrator:/usr/local/pgsql:/bin/sh

   

  Is any other setting is reqd.?

  Help appreciated.

   

  Thx.,

  Anagha

view thread (2+ messages)

Message-ID: <007a01c3266d$e24fb0b0$0a00a8c0@cygnus.com>
Permalink:  ../007a01c3266d$e24fb0b0$0a00a8c0@cygnus.com/
Also on:    postgresql.org/message-id/007a01c3266d$e24fb0b0$0a00a8c0@cygnus.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: rakesh@cygnus.stpp.soft.net, ajoshi@nulinkinc.com
  Subject: Re: postgres user
  In-Reply-To: <007a01c3266d$e24fb0b0$0a00a8c0@cygnus.com>
  References: <FF851C7EEB75954F9BCFB5CA117AB1EC092818@delta.nulinkinc.com> <007a01c3266d$e24fb0b0$0a00a8c0@cygnus.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