Re: createuser problem

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "fion yong" <fion(at)kl(dot)cybatron(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: createuser problem
Date: 2001-02-14 15:19:47
Message-ID: 200102141519.f1EFJlw11016@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"fion yong" wrote:
>It gives the following error when i tried to a new user
>
>createuser demouser1
>Connection to database 'template1' failed.
>FATAL 1: SetUserId: user 'fion' is not in 'pg_shadow'
>
>how should i solve this problem?

Become user postgres before you try to run createuser. (Or become any
user who has create user privilege.)

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"God be merciful unto us, and bless us; and cause his
face to shine upon us." Psalms 67:1

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-02-14 16:00:22 Re: How to create a type ?
Previous Message Dave Wedwick 2001-02-14 15:06:29 Re: Trigger question