Re: can you solve my problem

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: can you solve my problem
Date: 2003-03-31 19:56:38
Message-ID: 1049140598.8432.83.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, 2003-03-28 at 16:06, himansu biswal wrote:
> hi,
> i tried to execute psql template1.i got the problem
> below.plz help me out.
>
> [root(at)linux2 /]# su jat -
> [jat(at)linux2 /]$ whoami
> jat
> [jat(at)linux2 /]$ psql template1
> psql: FATAL 1: user "jat" does not exist

PostgreSQL users are not the same as local system users (a PostgreSQL
server can be accessed from other machines, if you configure it so.)

You need to create database users with the SQL command CREATE USER or
the system command createuser. Look up their documentation to see how.

You also need to look at access controls in $PGDATA/pg_hba.conf - see
the Administrator's manual.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"If we confess our sins, he is faithful and just to
forgive us our sins, and to cleanse us from all
unrighteousness." I John 1:9

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-03-31 21:43:44 Re: [ADMIN] Can't connect to my postgresql
Previous Message Tom Lane 2003-03-31 14:23:14 Re: Bug #922: PANIC: open of /scratch/production_2/pg_clog/0996 failed: No such file or directory