pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
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
Date: Thu, 06 Jun 2024 21:14:12 -0400
Message-ID: <1167642.1717722852@sss.pgh.pa.us> (raw)
In-Reply-To: <CANzqJaBAA5S+wVhnvqhNubxKP2Sj0_oA_uKCDh4VjPJNx=1PwA@mail.gmail.com>
References: <DM4PR19MB597864190796CC5828854176D3FA2@DM4PR19MB5978.namprd19.prod.outlook.com>
<CAKFQuwa3OTdN6h8gOJRscFYxaqCkn4Ex2RWF1TsrwnScBoO7VA@mail.gmail.com>
<CANzqJaBAA5S+wVhnvqhNubxKP2Sj0_oA_uKCDh4VjPJNx=1PwA@mail.gmail.com>
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
view thread (23+ messages) latest in thread
Message-ID: <1167642.1717722852@sss.pgh.pa.us>
Permalink: ../1167642.1717722852@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1167642.1717722852@sss.pgh.pa.us
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: How to find the view modified date and time and user name
In-Reply-To: <1167642.1717722852@sss.pgh.pa.us>
* 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