Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)

Поиск
Список
Период
Сортировка
От Kirk Wolak
Тема Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Дата
Msg-id CACLU5mRjbhn64QjVf0_1RcxN3=TNdUYZwPDV3VuQ2R_Qzwn2pw@mail.gmail.com
обсуждение исходный текст
Ответ на 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)  (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>)
Список 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 
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Melanie Plageman
Дата:
Сообщение: Re: Show various offset arrays for heap WAL records
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Add LZ4 compression in pg_dump