Re: POLL: Adding transaction status to default psql prompt

2020-02-11 Thread Anthony Nowocien
+1 also. Thanks for the proposal. Anthony On Fri, Feb 7, 2020, 17:52 Kasun Kulathunga wrote: > On Thu, Feb 6, 2020, 20:29 Ken Tanzer wrote: > > Em qua, 5 de fev de 2020 às 23:55, Vik Fearing > escreveu: > > > Please answer +1 if you want or don't mind seeing transaction status by > default in

Re: POLL: Adding transaction status to default psql prompt

2020-02-07 Thread Kasun Kulathunga
On Thu, Feb 6, 2020, 20:29 Ken Tanzer wrote: Em qua, 5 de fev de 2020 às 23:55, Vik Fearing 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,

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Ken Tanzer
> > Em qua, 5 de fev de 2020 às 23:55, Vik Fearing > 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Nikolay Samokhvalov
On Wed, Feb 5, 2020 at 8:05 PM Vik Fearing 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Fabrízio de Royes Mello
Em qua, 5 de fev de 2020 às 23:55, Vik Fearing 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/

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Charles Clavadetscher
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Victor Yegorov
чт, 6 февр. 2020 г. в 04:55, Vik Fearing : > 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Ray O'Donnell
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread Daniel Westermann (DWE)
>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

Re: POLL: Adding transaction status to default psql prompt

2020-02-06 Thread hubert depesz lubaczewski
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Guillaume Lelarge
Le jeu. 6 févr. 2020 à 03:55, Vik Fearing 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Laurenz Albe
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Daevor The Devoted
+1 (+10 billion actually, but sadly, I'm only allowed a +1) On Thu, Feb 6, 2020 at 4:55 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread David G. Johnston
On Wed, Feb 5, 2020 at 7:55 PM 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Adrian Klaver
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Michael Paquier
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. >

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Christophe Pettus
> On Feb 5, 2020, at 18:54, 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.

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Hari Kiran
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Vik Fearing
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Steve Baldwin
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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Ian Barwick
On Thu, 6 Feb 2020 at 11:55, 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. > >

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Matt Zagrabelny
+1 On Wed, Feb 5, 2020 at 9:15 PM Ahmed, Nawaz (Fuji Xerox Australia) wrote: > > +1 > > -Original Message- > From: Vik Fearing > Sent: Thursday, 6 February 2020 1:55 PM > To: pgsql-general@lists.postgresql.org > Subject: POLL: Adding transaction status to defau

RE: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Ahmed, Nawaz (Fuji Xerox Australia)
+1 -Original Message- From: Vik Fearing 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

Re: POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Nikolay Samokhvalov
+1 of course On Wed, Feb 5, 2020 at 6:55 PM 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 >

POLL: Adding transaction status to default psql prompt

2020-02-05 Thread Vik Fearing
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