Re: role does not exist

Поиск
Список
Период
Сортировка
От Kevin Burton
Тема Re: role does not exist
Дата
Msg-id 000901cdb7cc$68477fa0$38d67ee0$@charter.net
обсуждение исходный текст
Ответ на Re: role does not exist  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: role does not exist  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
I tried this and I get an error that

'psql: FATAL: role "postgres" does not exist'

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Joshua D. Drake
Sent: Wednesday, October 31, 2012 6:33 PM
To: Kevin Burton
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] role does not exist


On 10/31/2012 03:54 PM, Kevin Burton wrote:
> I have successfully installed PostgreSQL on a Ubuntu Linux machine.
> However right off the bat I type 'psql' and I get the error: 'role
> "xxxx" does not exist'. Where xxx is the user name logged in. How do I
> overcome this hurdle. Right now all of our data is on a Windows SQL
> Server. Can someone give me step by step directions on how to import
> the databases from SQL Server. Actually I only want a few tables in
> the database. Hints?

Well step by step is a bit exhaustive for a mailing list. To solve the
specific question the default user is postgres and the default super user
within postgresql is postgres. Try this:

sudo -u postgres psql

JD

>
> Thank you.
>


--
Command Prompt, Inc. - http://www.commandprompt.com/ PostgreSQL Support,
Training, Professional Services and Development High Availability, Oracle
Conversion, Postgres-XC @cmdpromptinc - 509-416-6579


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



В списке pgsql-general по дате отправления:

Предыдущее
От: "Xiong He"
Дата:
Сообщение: Re: Why PGDLLIMPORT is needed
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: role does not exist