Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: Reg : Data ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3874 of 3967
Post > Topic >>

Re: Reg : Data base deletion

by wmoran@[EMAIL PROTECTED] (Bill Moran) Jun 25, 2008 at 08:06 AM

In response to "Pradeepa" <pradeepa.ili@[EMAIL PROTECTED]
>:
> 
> We want some information like, if any one deletes database from
postgres,
> how to trace when it has been deleted.

The easiest way that I know of is to enable logging of DDL statements in
postgresql.conf.  Make sure you have enough disk space to handle all
the log data that results.

> The deletion is not from any command
> but by right clicking on db and deleting it.

It doesn't matter.  Whatever GUI you're using to do this will simply
convert your clicking into SQL commands, so it's really the same
thing from the server's perspective.

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran@[EMAIL PROTECTED]
 412-422-3463x4023

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 3 Posts in Topic:
Reg : Data base deletion
pradeepa.ili@[EMAIL PROTE  2008-06-25 13:24:06 
Re: Reg : Data base deletion
wmoran@[EMAIL PROTECTED]   2008-06-25 08:06:22 
Re: Reg : Data base deletion
ajs@[EMAIL PROTECTED] (A  2008-06-25 08:26:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 8:05:58 CDT 2008.