running postgresql - Mailing list pgsql-general

From Charles
Subject running postgresql
Date
Msg-id 1194287772.8683.7.camel@DagonUX32
Whole thread Raw
Responses Re: running postgresql
Re: running postgresql
Re: running postgresql
List pgsql-general
I am running Gutsy (Ubuntu 7.10) and new to Postgresql. I followed the
direction at https://help.ubuntu.com/community/PostgreSQL. I executed
the following commands:
    sudo -u postgres createuser -D -A -P myuser
    sudo -u postgres createdb -O myuser mydb
    dagon@DagonUX32:~$ psql mydb

and received the following error message:
    psql: FATAL:  role "dagon" does not exist.

Apparently Postgresql gets confused with my login name. Is this a
Postgresql problem or a Gutsy problem?

How do I establish a "role" that will let me setup different databases?



pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: How to temporarily disable a table's FK constraints?
Next
From: Sam Mason
Date:
Subject: Re: How to temporarily disable a table's FK constraints?