Re: Tables dissapearing - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Tables dissapearing
Date
Msg-id dcc563d10708271548q7bcea4f3v2c49c8324d8d28d7@mail.gmail.com
Whole thread Raw
In response to Re: Tables dissapearing  (Kamil Srot <kamil.srot@nlogy.com>)
List pgsql-general
On 8/27/07, Kamil Srot <kamil.srot@nlogy.com> wrote:

> I really need to make sure, the next problem (if it's necessary to let
> it happen) will be the last one... :-(

Have you set your log_statement to 'ddl' in postgresql.conf?

That way you'll have a log of every single ddl that goes through the
database.  At least then when the table disappears again you can look
in your logs to see if it was in fact a client app that did it.

Also, look at taking away permission from anyone BUT the postgres
superuser to drop objects.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: EXPLAIN ANALYZE not considering primary and unique indices!
Next
From: Tom Lane
Date:
Subject: Re: Detecting whether a point is in a box.