From: Roberto Nakai <rsnakai@uol.com.br>
To: pgsql-admin@postgresql.org
Subject: How to drop a template1 owner user
Date: Wed, 16 Aug 2000 15:36:10 -0300
Message-ID: <399ADF1A.258B21CE@uol.com.br> (raw)
pgsql-admin,
I don't know if this is the right place to ask for your help. If
it's not, sorry...
I've been using PostgreSQL 7.0 for a few months. Suddenly, every
database belongs to two users: "postgres" and "enhydra". This may be
due to some bad export/import operation...
The former is the usual one, the later is another user that I've
created. The fact is that when I'm connected as "enhydra" and I drop a
database, the database that belongs to "postgres" and has the same name
is also dropped.
When I try to drop the "enhydra" user, I get the following message:
ERROR: DROP USER: user "enhydra" owns database "template1", cannot be
removed
dropuser: deletion of user "enhydra" failed
I think that if I could be able to drop the "enhyhdra" user, I could
solve my problem.
Thanks,
Roberto Nakai,
NZ Tech.
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: rsnakai@uol.com.br
Subject: Re: How to drop a template1 owner user
In-Reply-To: <399ADF1A.258B21CE@uol.com.br>
References: <399ADF1A.258B21CE@uol.com.br>
* 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