From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Tamir Halperin <tamir@brobus.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pgAdmin II questions
Date: Sun, 30 Mar 2003 12:21:43 -0800 (PST)
Message-ID: <20030330121626.Q24855-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BFC@andrew.brobus.net>
I don't know much about pgAdmin itself, but...
On Sun, 30 Mar 2003, Tamir Halperin wrote:
> I remember creating a db called taxcal and it's listed there. However,
> I don't remember creating a db called pgsql.
It's possible it got created as a side effect of the system upgrade.
> Also, I can't drop it (by right clicking on it and selecting drop
> object from the shortcut menu. After being warned that the action
> cannot be undone I agree and an error comes up:
>
> "An error as occured in pgAdmin II:basActions.drop:
>
> Number: -2147467259
> Description: ERROR: DROP DATABASE: database "pgsql" is being accessed
> by other users
Are there any connections to it on the server? You can check with ps.
> Another thing I need help with is the appearance of both "template0"
> as well as "template1". I can't seem to delete template0 because the
> error from the drop action informs me that it is marked as a template.
Deleting template0 or template1 (unless you're just going to recreate it
from template0) is a bad idea. They're the template databases from which
new databases are created (IIRC, template0 is just system things and
template1 can include anything you want to be clone in newly created
databases - such as language handlers, or wahtever).
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: sszabo@megazone23.bigpanda.com, tamir@brobus.net
Subject: Re: pgAdmin II questions
In-Reply-To: <20030330121626.Q24855-100000@megazone23.bigpanda.com>
References: <985DF46E87E0C047A3670048DBCAD0556BFC@andrew.brobus.net> <20030330121626.Q24855-100000@megazone23.bigpanda.com>
* 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