Re: How to find the view modified date and time and user name - Mailing list pgsql-admin

From M Sarwar
Subject Re: How to find the view modified date and time and user name
Date
Msg-id DM4PR19MB5978AABAF6D21E53FFF0A203D3FB2@DM4PR19MB5978.namprd19.prod.outlook.com
Whole thread Raw
In response to Re: How to find the view modified date and time and user name  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: How to find the view modified date and time and user name
Re: How to find the view modified date and time and user name
Re: How to find the view modified date and time and user name
List pgsql-admin
Hi Tom,
I do not have DDL logs. 
Are you saying that I should have manually maintain it or are you referring to any existing logs on the database side?
This is taken very seriously by our architect. This guy behaves like everything like auditor, Project Manager or whatever we can think of. 🙂
Thanks,
Sarwar



From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Thursday, June 6, 2024 9:14 PM
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: How to find the view modified date and time and user name
 
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> What matters is that the DBA can see "ah, Bob altered table foo last
> Thursday at 14:30.  Let's check the log file to see what he did."

I'm not finding that argument terribly convincing.  If you have a
DDL log file, you can grep it to find the last change (and the
ones before that, in case it was Alice's fault not Bob's).  If
you don't have such a log file, how much does a last-changed
timestamp really help you?

                        regards, tom lane


pgsql-admin by date:

Previous
From: M Sarwar
Date:
Subject: Re: How to find the view modified date and time and user name
Next
From: M Sarwar
Date:
Subject: Re: How to find the view modified date and time and user name