Re: Reg : Data base deletion

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: Reg : Data base deletion
Дата
Msg-id 20080625080622.6016fe4d.wmoran@collaborativefusion.com
обсуждение исходный текст
Ответ на Reg : Data base deletion  ("Pradeepa" <pradeepa.ili@valtech.co.in>)
Список pgsql-bugs
In response to "Pradeepa" <pradeepa.ili@valtech.co.in>:
>
> 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@collaborativefusion.com
Phone: 412-422-3463x4023

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Russell Smith
Дата:
Сообщение: libpq does not manage SSL callbacks properly when other libraries are involved.
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Reg : Data base deletion