pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Date created for tables
Date: Mon, 23 Dec 2019 20:14:01 -0600
Message-ID: <2e6cf0d7-bed4-6bbb-95c8-e090697cdb8a@gmail.com> (raw)
In-Reply-To: <20191224010153.GC24865@momjian.us>
References: <2FC3DA6F06B2814CA11FDEC9CEF5AAAC997D714E@CCPMAILDAG03.cantab.local>
	<20191224010153.GC24865@momjian.us>

On 12/23/19 7:01 PM, Bruce Momjian wrote:
> On Thu, Dec  5, 2019 at 05:10:20PM +0000, Chloe Dives wrote:
>> Having moved to PostgreSQL from Oracle a few years ago I have been generally
>> very impressed by Postgres, but there are a few things that I still miss. One
>> of those is being able to see the created and last modified dates for database
>> objects.
>>
>>   
>>
>> Is this something that has been considered for implementation?
> I wrote a blog about this:
>
> 	https://momjian.us/main/blogs/pgblog/2017.html#November_21_2017

You all are *grossly* over-complicating this.

By creation time, "we DBAs" think the time we ran "CREATE object", not when 
pg_dump, pg_basebackup and pg_update ran.

Likewise, modification time is when we last ran an ALTER command ran, not 
when VACUUM ran (that's tracked elsewhere) or DML ran.

That's all.

-- 
Angular momentum makes the world go 'round.

view thread (21+ messages)  latest in thread

Message-ID: <2e6cf0d7-bed4-6bbb-95c8-e090697cdb8a@gmail.com>
Permalink:  ../2e6cf0d7-bed4-6bbb-95c8-e090697cdb8a@gmail.com/
Also on:    postgresql.org/message-id/2e6cf0d7-bed4-6bbb-95c8-e090697cdb8a@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Date created for tables
  In-Reply-To: <2e6cf0d7-bed4-6bbb-95c8-e090697cdb8a@gmail.com>
  References: <2FC3DA6F06B2814CA11FDEC9CEF5AAAC997D714E@CCPMAILDAG03.cantab.local> <20191224010153.GC24865@momjian.us> <2e6cf0d7-bed4-6bbb-95c8-e090697cdb8a@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox