[BUGS] BUG #14553: Fatal Error - Role does not exist - Mailing list pgsql-bugs

From clive@the-boughtons.net
Subject [BUGS] BUG #14553: Fatal Error - Role does not exist
Date
Msg-id 20170220000538.1254.35000@wrigleys.postgresql.org
Whole thread Raw
Responses Re: [BUGS] BUG #14553: Fatal Error - Role does not exist  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14553
Logged by:          Clive Boughton
Email address:      clive@the-boughtons.net
PostgreSQL version: 9.5.6
Operating system:   Fedora 25
Description:

I've installed (what I downloaded as PG9.6) PG9.5.6 onto Fedora 25.  All
seemed to go OK, but when I went to test 'CREATEDB" I received the
following:
"createdb: could not connect to database postgres: FATAL:  role
"my-Fedora-username" does not exist".
I tried to follow the instructions in the PG User Manual - NOTHING
WORKED!!
Ultimately, I realised that as part of the setup of postgres the
documentation that came with the download specified using "system intidb"
and "systemctl start postgresql.service" but the "systemctl" command
doesn't showup when searching the manual.  The manual instead mentions
"pg_ctl" which I tried after stopping postgres with "systemctl". The pg_ctl
start command failed with the suggestion that there was no specified
datadir.  I restarted postgres with systemctl and then tried to stop it with
pg_ctl. This resulted in a message to the affect that I could do that as
root (which I was logged in as).  SO WHAT IS GOING ON?? or more likely "WHAT
HAVE I DONE"  I have found the manual to be very confusing on the topic o f
installation.  BTW, I deliberately did not attempt to do an install from
source - that brought with it a whole heap of other (largely hidden issues
concerning other software that PG uses.

CVB


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

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [BUGS] BUG #14549: pl/pgsql parser
Next
From: t.kitynski@gmail.com
Date:
Subject: [BUGS] BUG #14554: Tab on new line after VALUES clause in INSERT statementechoes opening bracket