Re: Add create and update timestamp to all objects

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Efrain J(dot) Berdecia" <ejberdecia(at)yahoo(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add create and update timestamp to all objects
Date: 2021-09-26 23:03:30
Message-ID: 6150FC42.5070207@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/26/21 18:28, Tom Lane wrote:
> "Efrain J. Berdecia" <ejberdecia(at)yahoo(dot)com> writes:
>> Are there any plans to add a create and last updated time stamp field to any and all objects in postgres?
>
> No.

That said, if you'd be satisfied with a create OR last updated time,
there should already be a txid there.

If you have track_commit_timestamp turned on, there's your time.

If it's not turned on, but you want to know the time, there are ways.[0]

Regards,
-Chap

[0]https://stackoverflow.com/a/61788447/4062350

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2021-09-26 23:06:45 Re: When is int32 not an int32?
Previous Message David Fetter 2021-09-26 22:36:00 Re: When is int32 not an int32?