Skip site navigation (1) Skip section navigation (2)

Re: Reg : Data base deletion

From: Andrew Sullivan <ajs(at)commandprompt(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Reg : Data base deletion
Date: 2008-06-25 12:26:51
Message-ID: 20080625122651.GC34573@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-general
On Wed, Jun 25, 2008 at 01:24:06PM +0530, Pradeepa wrote:
> Hi Team,
> 
> We want some information like, if any one deletes database from postgres,
> how to trace when it has been deleted. The deletion is not from any command
> but by right clicking on db and deleting it.

Uh, how is that "right clicking" happening?  What interface are you
using?  The delete is happening by _some_ command.

Anyway, you can do this with triggers.  There's an example of doing
this in the manual, I believe.

A
-- 
Andrew Sullivan
ajs(at)commandprompt(dot)com
+1 503 667 4564 x104
http://www.commandprompt.com/

In response to

pgsql-bugs by date

Next:From: Andrew SullivanDate: 2008-06-25 12:28:22
Subject: Re: just a question re: submitted bug...
Previous:From: Bill MoranDate: 2008-06-25 12:06:22
Subject: Re: Reg : Data base deletion

pgsql-general by date

Next:From: Bill MoranDate: 2008-06-25 12:44:16
Subject: Re: [BUGS] Reg : Data base deletion
Previous:From: Andrew SullivanDate: 2008-06-25 12:24:49
Subject: Re: replication

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group