pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPOLL: Adding transaction status to default psql prompt
25+ messages / 23 participants
[nested] [flat]
* POLL: Adding transaction status to default psql prompt
@ 2020-02-06 02:54 Vik Fearing <vik@postgresfriends.org>
2020-02-06 03:13 ` Re: POLL: Adding transaction status to default psql prompt Nikolay Samokhvalov <samokhvalov@gmail.com>
2020-02-06 03:15 ` RE: POLL: Adding transaction status to default psql prompt Ahmed, Nawaz (Fuji Xerox Australia) <Nawaz.Ahmed@aus.fujixerox.com>
2020-02-06 03:49 ` Re: POLL: Adding transaction status to default psql prompt Ian Barwick <ian.barwick@2ndquadrant.com>
2020-02-06 03:55 ` Re: POLL: Adding transaction status to default psql prompt Steve Baldwin <steve.baldwin@gmail.com>
2020-02-06 04:14 ` Re: POLL: Adding transaction status to default psql prompt Hari Kiran <hari.kiran@2ndquadrant.com>
2020-02-06 05:16 ` Re: POLL: Adding transaction status to default psql prompt Michael Paquier <michael@paquier.xyz>
2020-02-06 05:17 ` Re: POLL: Adding transaction status to default psql prompt Christophe Pettus <xof@thebuild.com>
2020-02-06 05:22 ` Re: POLL: Adding transaction status to default psql prompt David G. Johnston <david.g.johnston@gmail.com>
2020-02-06 05:52 ` Re: POLL: Adding transaction status to default psql prompt Daevor The Devoted <dollien@gmail.com>
2020-02-06 06:11 ` Re: POLL: Adding transaction status to default psql prompt Laurenz Albe <laurenz.albe@cybertec.at>
2020-02-06 07:20 ` Re: POLL: Adding transaction status to default psql prompt Guillaume Lelarge <guillaume@lelarge.info>
2020-02-06 10:21 ` Re: POLL: Adding transaction status to default psql prompt hubert depesz lubaczewski <depesz@depesz.com>
2020-02-06 10:44 ` Re: POLL: Adding transaction status to default psql prompt Ray O'Donnell <ray@rodonnell.ie>
2020-02-06 13:36 ` Re: POLL: Adding transaction status to default psql prompt Victor Yegorov <vyegorov@gmail.com>
2020-02-06 14:06 ` Re: POLL: Adding transaction status to default psql prompt Charles Clavadetscher <clavadetscher@swisspug.org>
2020-02-06 16:32 ` Re: POLL: Adding transaction status to default psql prompt Fabrízio de Royes Mello <fabrizio@timbira.com.br>
0 siblings, 16 replies; 25+ messages in thread
From: Vik Fearing @ 2020-02-06 02:54 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Hello,
I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
The effect of this is:
- nothing at all when not in a transaction,
- adding a '*' when in a transaction or a '!' when in an aborted
transaction.
Before making a change to a long-time default, a poll in this group was
requested.
Please answer +1 if you want or don't mind seeing transaction status by
default in psql or -1 if you would prefer to keep the current default.
Thanks!
+1 from me.
--
Vik Fearing
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 03:13 ` Nikolay Samokhvalov <samokhvalov@gmail.com>
15 siblings, 0 replies; 25+ messages in thread
From: Nikolay Samokhvalov @ 2020-02-06 03:13 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
+1 of course
On Wed, Feb 5, 2020 at 6:55 PM Vik Fearing <vik@postgresfriends.org> wrote:
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
> Thanks!
>
> +1 from me.
> --
> Vik Fearing
>
>
>
^ permalink raw reply [nested|flat] 25+ messages in thread
* RE: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 03:15 ` Ahmed, Nawaz (Fuji Xerox Australia) <Nawaz.Ahmed@aus.fujixerox.com>
2020-02-06 03:41 ` Re: POLL: Adding transaction status to default psql prompt Matt Zagrabelny <mzagrabe@d.umn.edu>
15 siblings, 1 reply; 25+ messages in thread
From: Ahmed, Nawaz (Fuji Xerox Australia) @ 2020-02-06 03:15 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
+1
-----Original Message-----
From: Vik Fearing <vik@postgresfriends.org>
Sent: Thursday, 6 February 2020 1:55 PM
To: pgsql-general@lists.postgresql.org
Subject: POLL: Adding transaction status to default psql prompt
Hello,
I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
The effect of this is:
- nothing at all when not in a transaction,
- adding a '*' when in a transaction or a '!' when in an aborted
transaction.
Before making a change to a long-time default, a poll in this group was requested.
Please answer +1 if you want or don't mind seeing transaction status by default in psql or -1 if you would prefer to keep the current default.
Thanks!
+1 from me.
--
Vik Fearing
IMPORTANT NOTE: Fuji Xerox email transmission, including any attachments, is private and confidential and may contain legally privileged information. It is for the addressee's attention only. If you are not the intended recipient and have received this transmission, you must not use, edit, print, copy or disclose its contents to any person or disseminate the information contained herein or hereto attached, and you must notify sender immediately by return email and delete this transmission from your system. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. We have used reasonable efforts to protect this transmission from computer viruses and other malicious software, but no warranty is made and the sender takes no responsibility for any loss or damage incurred from using this email or the information contained in this email.
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 03:15 ` RE: POLL: Adding transaction status to default psql prompt Ahmed, Nawaz (Fuji Xerox Australia) <Nawaz.Ahmed@aus.fujixerox.com>
@ 2020-02-06 03:41 ` Matt Zagrabelny <mzagrabe@d.umn.edu>
0 siblings, 0 replies; 25+ messages in thread
From: Matt Zagrabelny @ 2020-02-06 03:41 UTC (permalink / raw)
To: Ahmed, Nawaz (Fuji Xerox Australia) <Nawaz.Ahmed@aus.fujixerox.com>; +Cc: Vik Fearing <vik@postgresfriends.org>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
+1
On Wed, Feb 5, 2020 at 9:15 PM Ahmed, Nawaz (Fuji Xerox Australia)
<Nawaz.Ahmed@aus.fujixerox.com> wrote:
>
> +1
>
> -----Original Message-----
> From: Vik Fearing <vik@postgresfriends.org>
> Sent: Thursday, 6 February 2020 1:55 PM
> To: pgsql-general@lists.postgresql.org
> Subject: POLL: Adding transaction status to default psql prompt
>
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by default in psql or -1 if you would prefer to keep the current default.
>
> Thanks!
>
> +1 from me.
> --
> Vik Fearing
>
>
>
> IMPORTANT NOTE: Fuji Xerox email transmission, including any attachments, is private and confidential and may contain legally privileged information. It is for the addressee's attention only. If you are not the intended recipient and have received this transmission, you must not use, edit, print, copy or disclose its contents to any person or disseminate the information contained herein or hereto attached, and you must notify sender immediately by return email and delete this transmission from your system. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. We have used reasonable efforts to protect this transmission from computer viruses and other malicious software, but no warranty is made and the sender takes no responsibility for any loss or damage incurred from using this email or the information contained in this email.
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 03:49 ` Ian Barwick <ian.barwick@2ndquadrant.com>
15 siblings, 0 replies; 25+ messages in thread
From: Ian Barwick @ 2020-02-06 03:49 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
On Thu, 6 Feb 2020 at 11:55, Vik Fearing <vik@postgresfriends.org> wrote:
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
+1 from me.
I've been configuring this in every single .psqlrc I "own" since it was
first added in 7.4,
and sorely miss it not being just available in environments I don't "own".
Regards
Ian Barwick
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 03:55 ` Steve Baldwin <steve.baldwin@gmail.com>
2020-02-06 04:05 ` Re: POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
15 siblings, 1 reply; 25+ messages in thread
From: Steve Baldwin @ 2020-02-06 03:55 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
Hi Vik,
I'm not sure why this should be the default when it is easy to override the
default via a psqrc file. If you know enough to do it, you can. Otherwise I
don't think it adds any value as a default since a novice user isn't going
to know what */!/? means. Maybe I'm missing something.
-1 from me.
On Thu, Feb 6, 2020 at 1:55 PM Vik Fearing <vik@postgresfriends.org> wrote:
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
> Thanks!
>
> +1 from me.
> --
> Vik Fearing
>
>
>
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 03:55 ` Re: POLL: Adding transaction status to default psql prompt Steve Baldwin <steve.baldwin@gmail.com>
@ 2020-02-06 04:05 ` Vik Fearing <vik@postgresfriends.org>
2020-02-06 05:18 ` Re: POLL: Adding transaction status to default psql prompt Adrian Klaver <adrian.klaver@aklaver.com>
2020-02-06 23:00 ` Re: POLL: Adding transaction status to default psql prompt Nikolay Samokhvalov <samokhvalov@gmail.com>
0 siblings, 2 replies; 25+ messages in thread
From: Vik Fearing @ 2020-02-06 04:05 UTC (permalink / raw)
To: Steve Baldwin <steve.baldwin@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
On 06/02/2020 04:55, Steve Baldwin wrote:
> Hi Vik,
>
> I'm not sure why this should be the default when it is easy to override the
> default via a psqrc file. If you know enough to do it, you can.
Because it isn't always easy to modify the .psqlrc file. This is
especially true if you frequently connect to other people's systems.
> Otherwise I
> don't think it adds any value as a default since a novice user isn't going
> to know what */!/? means. Maybe I'm missing something.
A novice user won't understand any of psql's meta commands, either.
> -1 from me.
Thank you for voting.
--
Vik Fearing
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 03:55 ` Re: POLL: Adding transaction status to default psql prompt Steve Baldwin <steve.baldwin@gmail.com>
2020-02-06 04:05 ` Re: POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 05:18 ` Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 0 replies; 25+ messages in thread
From: Adrian Klaver @ 2020-02-06 05:18 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; Steve Baldwin <steve.baldwin@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
On 2/5/20 8:05 PM, Vik Fearing wrote:
> On 06/02/2020 04:55, Steve Baldwin wrote:
>> Hi Vik,
>>
>> I'm not sure why this should be the default when it is easy to override the
>> default via a psqrc file. If you know enough to do it, you can.
>
> Because it isn't always easy to modify the .psqlrc file. This is
> especially true if you frequently connect to other people's systems.
>
>> Otherwise I
>> don't think it adds any value as a default since a novice user isn't going
>> to know what */!/? means. Maybe I'm missing something.
>
> A novice user won't understand any of psql's meta commands, either.
Except they can be found by doing \?
-1
>
>> -1 from me.
>
> Thank you for voting.
>
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 03:55 ` Re: POLL: Adding transaction status to default psql prompt Steve Baldwin <steve.baldwin@gmail.com>
2020-02-06 04:05 ` Re: POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 23:00 ` Nikolay Samokhvalov <samokhvalov@gmail.com>
1 sibling, 0 replies; 25+ messages in thread
From: Nikolay Samokhvalov @ 2020-02-06 23:00 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: Steve Baldwin <steve.baldwin@gmail.com>; pgsql-general@lists.postgresql.org
On Wed, Feb 5, 2020 at 8:05 PM Vik Fearing <vik@postgresfriends.org> wrote:
> Because it isn't always easy to modify the .psqlrc file. This is
> especially true if you frequently connect to other people's systems.
>
Exactly. You can tune your psql a lot, including excellent pspg,
but then you frequently troubleshoot other people's systems, you deal with
defaults.
And finally, the default settings is what most people will always use.
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 04:14 ` Hari Kiran <hari.kiran@2ndquadrant.com>
15 siblings, 0 replies; 25+ messages in thread
From: Hari Kiran @ 2020-02-06 04:14 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 06/02/20 8:24 am, Vik Fearing wrote:
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
> Thanks!
>
> +1 from me.
double +1 from me
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 05:16 ` Michael Paquier <michael@paquier.xyz>
15 siblings, 0 replies; 25+ messages in thread
From: Michael Paquier @ 2020-02-06 05:16 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
On Thu, Feb 06, 2020 at 03:54:48AM +0100, Vik Fearing wrote:
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
Thanks Vik for starting a new thread. For reference here is the
thread where the patch is being discussed:
https://www.postgresql.org/message-id/09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 05:17 ` Christophe Pettus <xof@thebuild.com>
15 siblings, 0 replies; 25+ messages in thread
From: Christophe Pettus @ 2020-02-06 05:17 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
> On Feb 5, 2020, at 18:54, Vik Fearing <vik@postgresfriends.org> wrote:
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
+1.
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 05:22 ` David G. Johnston <david.g.johnston@gmail.com>
15 siblings, 0 replies; 25+ messages in thread
From: David G. Johnston @ 2020-02-06 05:22 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
On Wed, Feb 5, 2020 at 7:55 PM Vik Fearing <vik@postgresfriends.org> wrote:
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
+1
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 05:52 ` Daevor The Devoted <dollien@gmail.com>
15 siblings, 0 replies; 25+ messages in thread
From: Daevor The Devoted @ 2020-02-06 05:52 UTC (permalink / raw)
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
+1
(+10 billion actually, but sadly, I'm only allowed a +1)
On Thu, Feb 6, 2020 at 4:55 AM Vik Fearing <vik@postgresfriends.org> wrote:
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
> Thanks!
>
> +1 from me.
> --
> Vik Fearing
>
>
>
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 06:11 ` Laurenz Albe <laurenz.albe@cybertec.at>
15 siblings, 0 replies; 25+ messages in thread
From: Laurenz Albe @ 2020-02-06 06:11 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; pgsql-general@lists.postgresql.org
On Thu, 2020-02-06 at 03:54 +0100, Vik Fearing wrote:
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
+1
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 07:20 ` Guillaume Lelarge <guillaume@lelarge.info>
15 siblings, 0 replies; 25+ messages in thread
From: Guillaume Lelarge @ 2020-02-06 07:20 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Le jeu. 6 févr. 2020 à 03:55, Vik Fearing <vik@postgresfriends.org> a
écrit :
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
>
Too bad it doesn't add a space, so that we still have the same space used
byt the prompt whatever the status of the transaction. That's probably the
only thing that bugs me with %x.
- adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
> Thanks!
>
> +1 from me.
>
+1 from me as well. Actually, thanks to you, I added it to my .psqlrc file
in the meantime. But it would be very interesting when I work on a
customer's server.
--
Guillaume.
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 10:21 ` hubert depesz lubaczewski <depesz@depesz.com>
2020-02-06 10:33 ` Re: POLL: Adding transaction status to default psql prompt Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
15 siblings, 1 reply; 25+ messages in thread
From: hubert depesz lubaczewski @ 2020-02-06 10:21 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On Thu, Feb 06, 2020 at 03:54:48AM +0100, Vik Fearing wrote:
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
+1
depesz
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 10:21 ` Re: POLL: Adding transaction status to default psql prompt hubert depesz lubaczewski <depesz@depesz.com>
@ 2020-02-06 10:33 ` Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
0 siblings, 0 replies; 25+ messages in thread
From: Daniel Westermann (DWE) @ 2020-02-06 10:33 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; depesz@depesz.com <depesz@depesz.com>
>On Thu, Feb 06, 2020 at 03:54:48AM +0100, Vik Fearing wrote:
>> Please answer +1 if you want or don't mind seeing transaction status by
>> default in psql or -1 if you would prefer to keep the current default.
>
>+1
+1
Daniel
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 10:44 ` Ray O'Donnell <ray@rodonnell.ie>
15 siblings, 0 replies; 25+ messages in thread
From: Ray O'Donnell @ 2020-02-06 10:44 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; pgsql-general@lists.postgresql.org
On 06/02/2020 02:54, Vik Fearing wrote:
> Hello,
>
> I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.
>
> The effect of this is:
>
> - nothing at all when not in a transaction,
> - adding a '*' when in a transaction or a '!' when in an aborted
> transaction.
>
> Before making a change to a long-time default, a poll in this group was
> requested.
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
+1
--
Raymond O'Donnell // Galway // Ireland
ray@rodonnell.ie
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 13:36 ` Victor Yegorov <vyegorov@gmail.com>
15 siblings, 0 replies; 25+ messages in thread
From: Victor Yegorov @ 2020-02-06 13:36 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
чт, 6 февр. 2020 г. в 04:55, Vik Fearing <vik@postgresfriends.org>:
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
+1
--
Victor Yegorov
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 14:06 ` Charles Clavadetscher <clavadetscher@swisspug.org>
15 siblings, 0 replies; 25+ messages in thread
From: Charles Clavadetscher @ 2020-02-06 14:06 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
+1
--
Charles Clavadetscher
Swiss PostgreSQL Users Group
Treasurer
Spitzackerstrasse 9
CH - 8057 Zürich
http://www.swisspug.org
+---------------------------+
| ____ ______ ___ |
| / )/ \/ \ |
| ( / __ _\ ) |
| \ (/ o) ( o) ) |
| \_ (_ ) \ ) _/ |
| \ /\_/ \)/ |
| \/ <//| |\\> |
| _| | |
| \|_/ |
| |
| Swiss PGDay 2020 |
| 18/19.06.2020 |
| HSR Rapperswil |
| |
+---------------------------+
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
@ 2020-02-06 16:32 ` Fabrízio de Royes Mello <fabrizio@timbira.com.br>
2020-02-07 01:29 ` Re: POLL: Adding transaction status to default psql prompt Ken Tanzer <ken.tanzer@gmail.com>
15 siblings, 1 reply; 25+ messages in thread
From: Fabrízio de Royes Mello @ 2020-02-06 16:32 UTC (permalink / raw)
To: Vik Fearing <vik@postgresfriends.org>; +Cc: pgsql-general@lists.postgresql.org
Em qua, 5 de fev de 2020 às 23:55, Vik Fearing <vik@postgresfriends.org>
escreveu:
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
+1
--
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 16:32 ` Re: POLL: Adding transaction status to default psql prompt Fabrízio de Royes Mello <fabrizio@timbira.com.br>
@ 2020-02-07 01:29 ` Ken Tanzer <ken.tanzer@gmail.com>
2020-02-07 16:52 ` Re: POLL: Adding transaction status to default psql prompt Kasun Kulathunga <kask18@gmail.com>
0 siblings, 1 reply; 25+ messages in thread
From: Ken Tanzer @ 2020-02-07 01:29 UTC (permalink / raw)
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; +Cc: Vik Fearing <vik@postgresfriends.org>
>
> Em qua, 5 de fev de 2020 às 23:55, Vik Fearing <vik@postgresfriends.org>
> escreveu:
>
>>
>> Please answer +1 if you want or don't mind seeing transaction status by
>> default in psql or -1 if you would prefer to keep the current default.
>
>
+1
I liked the idea just reading about it, but thought it would be good form
to at least try it out before voting. If I read the patch right, people
can try this out by setting their prompt without having to change their
.psqlrc file:
\set PROMPT1 ''%/%R%x%# '
Having done so, I'm still a +1!
Cheers,
Ken
--
AGENCY Software
A Free Software data system
By and for non-profits
*http://agency-software.org/ <http://agency-software.org/>*
*https://demo.agency-software.org/client
<https://demo.agency-software.org/client>*
ken.tanzer@agency-software.org
(253) 245-3801
Subscribe to the mailing list
<agency-general-request@lists.sourceforge.net?body=subscribe> to
learn more about AGENCY or
follow the discussion.
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 16:32 ` Re: POLL: Adding transaction status to default psql prompt Fabrízio de Royes Mello <fabrizio@timbira.com.br>
2020-02-07 01:29 ` Re: POLL: Adding transaction status to default psql prompt Ken Tanzer <ken.tanzer@gmail.com>
@ 2020-02-07 16:52 ` Kasun Kulathunga <kask18@gmail.com>
2020-02-12 07:22 ` Re: POLL: Adding transaction status to default psql prompt Anthony Nowocien <anowocien@gmail.com>
0 siblings, 1 reply; 25+ messages in thread
From: Kasun Kulathunga @ 2020-02-07 16:52 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org; +Cc: Vik Fearing <vik@postgresfriends.org>
On Thu, Feb 6, 2020, 20:29 Ken Tanzer <ken.tanzer@gmail.com> wrote:
Em qua, 5 de fev de 2020 às 23:55, Vik Fearing <vik@postgresfriends.org>
escreveu:
Please answer +1 if you want or don't mind seeing transaction status by
default in psql or -1 if you would prefer to keep the current default.
+1
I liked the idea just reading about it, but thought it would be good form
to at least try it out before voting. If I read the patch right, people
can try this out by setting their prompt without having to change their
.psqlrc file:
\set PROMPT1 ''%/%R%x%# '
Having done so, I'm still a +1!
Cheers,
Ken
--
AGENCY Software
A Free Software data system
By and for non-profits
*http://agency-software.org/ <http://agency-software.org/>*
*https://demo.agency-software.org/client
<https://demo.agency-software.org/client>*
ken.tanzer@agency-software.org
(253) 245-3801
Subscribe to the mailing list
<agency-general-request@lists.sourceforge.net?body=subscribe> to
learn more about AGENCY or
follow the discussion.
I've been using this setting for so long in .psqlrc that I forgot its not a
default thing!
+1 from me as well!
-Kasun
^ permalink raw reply [nested|flat] 25+ messages in thread
* Re: POLL: Adding transaction status to default psql prompt
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 16:32 ` Re: POLL: Adding transaction status to default psql prompt Fabrízio de Royes Mello <fabrizio@timbira.com.br>
2020-02-07 01:29 ` Re: POLL: Adding transaction status to default psql prompt Ken Tanzer <ken.tanzer@gmail.com>
2020-02-07 16:52 ` Re: POLL: Adding transaction status to default psql prompt Kasun Kulathunga <kask18@gmail.com>
@ 2020-02-12 07:22 ` Anthony Nowocien <anowocien@gmail.com>
0 siblings, 0 replies; 25+ messages in thread
From: Anthony Nowocien @ 2020-02-12 07:22 UTC (permalink / raw)
To: Kasun Kulathunga <kask18@gmail.com>; +Cc: pgsql-general@lists.postgresql.org; Vik Fearing <vik@postgresfriends.org>
+1 also.
Thanks for the proposal.
Anthony
On Fri, Feb 7, 2020, 17:52 Kasun Kulathunga <kask18@gmail.com> wrote:
> On Thu, Feb 6, 2020, 20:29 Ken Tanzer <ken.tanzer@gmail.com> wrote:
>
> Em qua, 5 de fev de 2020 às 23:55, Vik Fearing <vik@postgresfriends.org>
> escreveu:
>
>
> Please answer +1 if you want or don't mind seeing transaction status by
> default in psql or -1 if you would prefer to keep the current default.
>
>
> +1
>
> I liked the idea just reading about it, but thought it would be good form
> to at least try it out before voting. If I read the patch right, people
> can try this out by setting their prompt without having to change their
> .psqlrc file:
>
> \set PROMPT1 ''%/%R%x%# '
>
> Having done so, I'm still a +1!
>
> Cheers,
> Ken
>
>
> --
> AGENCY Software
> A Free Software data system
> By and for non-profits
> *http://agency-software.org/ <http://agency-software.org/>*
> *https://demo.agency-software.org/client
> <https://demo.agency-software.org/client>*
> ken.tanzer@agency-software.org
> (253) 245-3801
>
> Subscribe to the mailing list
> <agency-general-request@lists.sourceforge.net?body=subscribe> to
> learn more about AGENCY or
> follow the discussion.
>
>
> I've been using this setting for so long in .psqlrc that I forgot its not
> a default thing!
>
> +1 from me as well!
>
> -Kasun
>
>
^ permalink raw reply [nested|flat] 25+ messages in thread
end of thread, other threads:[~2020-02-12 07:22 UTC | newest]
Thread overview: 25+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 02:54 POLL: Adding transaction status to default psql prompt Vik Fearing <vik@postgresfriends.org>
2020-02-06 03:13 ` Nikolay Samokhvalov <samokhvalov@gmail.com>
2020-02-06 03:15 ` Ahmed, Nawaz (Fuji Xerox Australia) <Nawaz.Ahmed@aus.fujixerox.com>
2020-02-06 03:41 ` Matt Zagrabelny <mzagrabe@d.umn.edu>
2020-02-06 03:49 ` Ian Barwick <ian.barwick@2ndquadrant.com>
2020-02-06 03:55 ` Steve Baldwin <steve.baldwin@gmail.com>
2020-02-06 04:05 ` Vik Fearing <vik@postgresfriends.org>
2020-02-06 05:18 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-02-06 23:00 ` Nikolay Samokhvalov <samokhvalov@gmail.com>
2020-02-06 04:14 ` Hari Kiran <hari.kiran@2ndquadrant.com>
2020-02-06 05:16 ` Michael Paquier <michael@paquier.xyz>
2020-02-06 05:17 ` Christophe Pettus <xof@thebuild.com>
2020-02-06 05:22 ` David G. Johnston <david.g.johnston@gmail.com>
2020-02-06 05:52 ` Daevor The Devoted <dollien@gmail.com>
2020-02-06 06:11 ` Laurenz Albe <laurenz.albe@cybertec.at>
2020-02-06 07:20 ` Guillaume Lelarge <guillaume@lelarge.info>
2020-02-06 10:21 ` hubert depesz lubaczewski <depesz@depesz.com>
2020-02-06 10:33 ` Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
2020-02-06 10:44 ` Ray O'Donnell <ray@rodonnell.ie>
2020-02-06 13:36 ` Victor Yegorov <vyegorov@gmail.com>
2020-02-06 14:06 ` Charles Clavadetscher <clavadetscher@swisspug.org>
2020-02-06 16:32 ` Fabrízio de Royes Mello <fabrizio@timbira.com.br>
2020-02-07 01:29 ` Ken Tanzer <ken.tanzer@gmail.com>
2020-02-07 16:52 ` Kasun Kulathunga <kask18@gmail.com>
2020-02-12 07:22 ` Anthony Nowocien <anowocien@gmail.com>
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