Re: pgAdmin II questions - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: pgAdmin II questions
Date
Msg-id 20030330121626.Q24855-100000@megazone23.bigpanda.com
Whole thread Raw
In response to pgAdmin II questions  ("Tamir Halperin" <tamir@brobus.net>)
Responses Re: pgAdmin II questions
List pgsql-admin
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).


pgsql-admin by date:

Previous
From: "Tamir Halperin"
Date:
Subject: pgAdmin II questions
Next
From: "lists"
Date:
Subject: Re: pg_restore problem