Add %x to PROMPT1 and PROMPT2

From: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Add %x to PROMPT1 and PROMPT2
Date: 2020-01-26 12:29:16
Message-ID: 09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I cannot ever think of a time when I don't want to know if I'm in a
transaction or not (and what its state is). Every new setup I do, I add
%x to the psql prompt.

I think it should be part of the default prompt. Path attached.
--
Vik Fearing

Attachment Content-Type Size
0001-add-x-to-the-default-psql-prompt.patch text/x-patch 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2020-01-26 12:40:41 Re: Add %x to PROMPT1 and PROMPT2
Previous Message Heikki Linnakangas 2020-01-26 09:42:32 Re: Remove page-read callback from XLogReaderState.