Re: Recover anything from dropped database?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: "John D(dot) Burger" <john(at)mitre(dot)org>
Subject: Re: Recover anything from dropped database?
Date: 2007-02-15 17:05:41
Message-ID: 200702151805.41949.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John D. Burger wrote:
> Still, I'm trying to figure out how to avoid my screw-up in the
> future.

The good old "don't do everything as root" comes to mind.

> I'm not that familiar with the permissions stuff - is there
> any way to take away "drop DB privileges" from a user, or even all
> users? Again, this is PG 7.4.

There is no specific "drop database" privilege, but only owners or
superusers can drop things. So do your general transactional
operations as some other user.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-02-15 17:25:59 Re: postgresql 8.2 Installation error at "gmake"
Previous Message Emi Lu 2007-02-15 17:04:28 Re: postgresql 8.2 Installation error at "gmake"