Re: proposal: add columns created and altered to pg_proc and pg_class - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: proposal: add columns created and altered to pg_proc and pg_class
Date
Msg-id 200904142252.n3EMqOI09836@momjian.us
Whole thread Raw
In response to Re: proposal: add columns created and altered to pg_proc and pg_class  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: proposal: add columns created and altered to pg_proc and pg_class  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
> > this my proposal is very simple. It help to people who have to manage
> > large or complex database system. Important data are date of creating
> > and date of altering tables and stored procedures. These data cannot
> > be modified by user, so implementation doesn't need any new
> > statements.
> 
> ISTM anyone who thinks they need this actually need a full DDL log;
> or at least, if we give them this, they will be back next week asking
> for a full log.  So it'd save a lot of work to tell them to just log
> their DDL to start with.
> 
> Some obvious objections to the simple approach:
> - what if I want to know *who* made the change
> - what if I need to know about the change before last
> - what if I need to know about a DROP
> - what if I need to know about operators, operator classes, schemas, etc
>   etc

How do you handle dump/restore?  Is it preserved?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Yet another regression issue with Fedora-10 + PG 8.4 beta1
Next
From: Andrew Gierth
Date:
Subject: Re: Unicode support