Re: Timestamps in outputs - Mailing list pgsql-admin

From Scott Ribe
Subject Re: Timestamps in outputs
Date
Msg-id 6B9627D8-576A-4960-B4F7-5C24C41182CE@elevated-dev.com
Whole thread Raw
In response to RE: Timestamps in outputs  (Murthy Nunna <mnunna@fnal.gov>)
List pgsql-admin
> On Dec 24, 2023, at 8:36 AM, Murthy Nunna <mnunna@fnal.gov> wrote:
>
> <your-script-or-command> | awk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0; fflush() }' > t.txt &

Ooooh, awesome! I'm going to save that for reference.




pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query Performance after pg_restore
Next
From: Murthy Nunna
Date:
Subject: RE: Query Performance after pg_restore