Re: patch: psql - enforce constant width of last column

2019-11-04 Thread Pavel Stehule
Hi po 4. 11. 2019 v 21:55 odesílatel Tom Lane napsal: > Pavel Stehule writes: > > st 18. 9. 2019 v 12:52 odesílatel Ahsan Hadi > napsal: > >> does this patch have any value for psql without pspg? > > > The benefit of this patch is just for pspg users today. > > TBH, I think we should just reje

Re: patch: psql - enforce constant width of last column

2019-11-04 Thread Tom Lane
Pavel Stehule writes: > st 18. 9. 2019 v 12:52 odesílatel Ahsan Hadi napsal: >> does this patch have any value for psql without pspg? > The benefit of this patch is just for pspg users today. TBH, I think we should just reject this patch. It makes psql's table-printing behavior even more compl

Re: patch: psql - enforce constant width of last column

2019-09-27 Thread Bruce Momjian
On Tue, Sep 17, 2019 at 05:15:42PM +0200, Pavel Stehule wrote: > > > út 17. 9. 2019 v 17:06 odesílatel Ahsan Hadi napsal: > > Hi Pavel, > > I have been trying to reproduce the case of badly displaying last columns > of a query result-set. I played around with the legal values for p

Re: patch: psql - enforce constant width of last column

2019-09-18 Thread Pavel Stehule
st 18. 9. 2019 v 12:52 odesílatel Ahsan Hadi napsal: > > > On Tue, Sep 17, 2019 at 8:16 PM Pavel Stehule > wrote: > >> >> >> út 17. 9. 2019 v 17:06 odesílatel Ahsan Hadi >> napsal: >> >>> Hi Pavel, >>> >>> I have been trying to reproduce the case of badly displaying last >>> columns of a query

Re: patch: psql - enforce constant width of last column

2019-09-18 Thread Ahsan Hadi
On Tue, Sep 17, 2019 at 8:16 PM Pavel Stehule wrote: > > > út 17. 9. 2019 v 17:06 odesílatel Ahsan Hadi > napsal: > >> Hi Pavel, >> >> I have been trying to reproduce the case of badly displaying last columns >> of a query result-set. I played around with the legal values for psql >> border vari

Re: patch: psql - enforce constant width of last column

2019-09-17 Thread Pavel Stehule
út 17. 9. 2019 v 17:06 odesílatel Ahsan Hadi napsal: > Hi Pavel, > > I have been trying to reproduce the case of badly displaying last columns > of a query result-set. I played around with the legal values for psql > border variable but not able to find a case where last columns are badly > displ

Re: patch: psql - enforce constant width of last column

2019-09-17 Thread Ahsan Hadi
Hi Pavel, I have been trying to reproduce the case of badly displaying last columns of a query result-set. I played around with the legal values for psql border variable but not able to find a case where last columns are badly displayed. Can you please share an example that I can use to reproduce

patch: psql - enforce constant width of last column

2019-09-09 Thread Pavel Stehule
Hi When I played with vertical cursor support I got badly displayed last columns when border was not 2. Only when border is 2, then psql displays last column with same width for each row. I think so we can force column width alignment for any border styles today (for alignment and wrapping styles