pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Atul Shah <atul.shah@hci.utah.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: db user named 'root'
Date: Wed, 08 Feb 2006 19:43:07 -0500
Message-ID: <20160.1139445787@sss.pgh.pa.us> (raw)
In-Reply-To: <F062093E456F8C4A9566C5CA59726C6E04F94695@EMAIL.hci.utah.edu>
References: <F062093E456F8C4A9566C5CA59726C6E04F94695@EMAIL.hci.utah.edu>

"Atul Shah" <atul.shah@hci.utah.edu> writes:
> As postgres (db superuser):
> createuser -s  -d root
> CREATE ROLE
> su root
> createdb root_db
> createdb: could not connect to database template1: FATAL:  user "root"
> does not exist

Works for me.  Are you sure that you are talking to the same postmaster
in both cases?  It's possible that root and postgres have different PATH
settings or different PGPORT settings or some such.

> Huntsman Cancer Institute wishes to promote open communication while =
> protecting confidential and/or privileged information.  If you have =
> received this message in error, please inform the sender and delete all =
> copies.

You do realize how silly you look with this sort of mumbo-jumbo attached
to mail to an open mailing list, don't you?  Even for private mail, do
your lawyers actually think that this accomplishes anything except
wasting people's disk space?

			regards, tom lane



view thread (2+ messages)

Message-ID: <20160.1139445787@sss.pgh.pa.us>
Permalink:  ../20160.1139445787@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20160.1139445787@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, atul.shah@hci.utah.edu
  Subject: Re: db user named 'root'
  In-Reply-To: <20160.1139445787@sss.pgh.pa.us>
  References: <F062093E456F8C4A9566C5CA59726C6E04F94695@EMAIL.hci.utah.edu> <20160.1139445787@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox