dbTalk Databases Forums  

ERROR: Relation "pg_user" does not exist

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss ERROR: Relation "pg_user" does not exist in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
S.Peppe
 
Posts: n/a

Default ERROR: Relation "pg_user" does not exist - 07-01-2003 , 09:10 AM






Hi there!

I'm really new at this game, so please forgive me if my request is at
all irritating. I have installed PostgreSQL onto a Debian/Linux machine,
and I have just upgraded PostgreSQL via the apt-get update & upgrade
commands. However, whenever I get into the PostgreSQL interactive
terminal thus

sp@vanthoff:~$ psql -U postgres SHG

it returns this:

ERROR: Relation "pg_user" does not exist
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

Now, if I try to connect to the database SHG:

SHG=> \c SHG

it returns this:

You are now connected to database SHG.
ERROR: Relation "pg_user" does not exist

These errors are encountered even when I'm logged on as root. I'm not
sure what other information you would require from me to answer this
question, so please do not hesitate to ask for it. Has anyone ever come
across this problem, and if so, how was it resolved? Many thanks in
advance.

Regards,

Sam.

--
************************************************** ********
Sam Peppe Tel : +44 (0)23 8059 3587
Postdoctoral Research Fellow Fax : +44 (0)23 8059 3781
Department of Chemistry Email : samp (AT) soton (DOT) ac.uk
University of Southampton
HANTS SO17 1BJ http://www.combechem.org/
************************************************** ********



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: ERROR: Relation "pg_user" does not exist - 07-02-2003 , 12:22 AM






"S.Peppe" <S.Peppe (AT) soton (DOT) ac.uk> writes:
Quote:
it returns this:
ERROR: Relation "pg_user" does not exist
Uh ... how old is the server you're connecting to, exactly?

The pg_user view has been standard for awhile, I can't blame your
psql for assuming it exists ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
  #3  
Old   
S.Peppe
 
Posts: n/a

Default Re: ERROR: Relation "pg_user" does not exist - 07-02-2003 , 01:56 AM



Thanks for your reply, Tom. The server I'm connecting to is only about 3
months old - that shouldn't be the problem then, as far as I can
tell. Thanks again.

Regards,

Sam.

On Wed, 2 Jul 2003, Tom Lane wrote:

Quote:
"S.Peppe" <S.Peppe (AT) soton (DOT) ac.uk> writes:
it returns this:
ERROR: Relation "pg_user" does not exist

Uh ... how old is the server you're connecting to, exactly?

The pg_user view has been standard for awhile, I can't blame your
psql for assuming it exists ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.