Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has) - Mailing list pgsql-hackers

From Kirk Wolak
Subject Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Date
Msg-id CACLU5mRjbhn64QjVf0_1RcxN3=TNdUYZwPDV3VuQ2R_Qzwn2pw@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)  (Jim Jones <jim.jones@uni-muenster.de>)
Responses Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)  (Jim Jones <jim.jones@uni-muenster.de>)
Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-hackers
On Wed, Mar 1, 2023 at 4:41 AM Jim Jones <jim.jones@uni-muenster.de> wrote:
On 01.03.23 01:59, Kirk Wolak wrote:
> I cannot get the last email to show up for the commitfest.
> This is version 2 of the original patch. [1]
> Thanks Jim!
>
> [1]https://postgr.es/m/CACLU5mSRwHr_8z%3DenMj-nXF1tmC7%2BJn5heZQNiKuLyxYUtL2fg%40mail.gmail.com
>
> Regards Kirk.

The patch didn't pass the SanityCheck:

https://cirrus-ci.com/task/5445242183221248?logs=build#L1337

missing a header perhaps?

#include "time.h"

Best, Jim

Thanks, corrected, and confirmed Unix line endings.
FWIW, the simplest way to test it is with this command (I usually get it wrong on the first guess)

\set PROMPT1 %T ' ' :PROMPT1

Kirk 
Attachment

pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Show various offset arrays for heap WAL records
Next
From: Tomas Vondra
Date:
Subject: Re: Add LZ4 compression in pg_dump