Re: Add relcreated (timestamp) column to pg_class catalog to record the time an object was created - Mailing list pgsql-general

From Tom Lane
Subject Re: Add relcreated (timestamp) column to pg_class catalog to record the time an object was created
Date
Msg-id 27666.1461177383@sss.pgh.pa.us
Whole thread Raw
In response to Add relcreated (timestamp) column to pg_class catalog to record the time an object was created  (Melvin Davidson <melvin6925@gmail.com>)
Responses Re: Add relcreated (timestamp) column to pg_class catalog to record the time an object was created
List pgsql-general
Melvin Davidson <melvin6925@gmail.com> writes:
> *I am a bit confused. If this is the correct list for enhancement requests,
> then why is that not explicitly stated in the list description?

In general, any of the major PG lists are suitable places for discussing
enhancements; either here or pgsql-hackers is most common, depending on
how much technical detail is part of the discussion.

> However, Customer Feedback (
> https://postgresql.uservoice.com/forums/21853-general
> <https://postgresql.uservoice.com/forums/21853-general> ) does seem to
> indicate it and give positive results.

I had never heard of postgresql.uservoice.com before this thread, and
I daresay most other community members had not either.  It has NO
standing or influence on our development work.

> That being said, I would like to put
> forth a very simple enhancement request.Add relcreated (timestamp) column
> to pg_class catalog to record the time an object was created.

This has been discussed, and rejected, many times before.  Please consult
the PG list archives to find previous threads about it.  I'll just note
that it *sounds* trivial, until you start thinking about backup/restore/
replication situations, and then you realize that the required semantics
are far from clear.  In practice, audit logs (which is a class of feature
that we are working on) are a far better solution.

            regards, tom lane


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Add relcreated (timestamp) column to pg_class catalog to record the time an object was created
Next
From: Adrian Klaver
Date:
Subject: Re: PG 9.1 on windows setup problem