Re: psql tests hangs

Kirk Wolak <wolakk@gmail.com>

From: Kirk Wolak <wolakk@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Daniel Gustafsson <daniel@yesql.se>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-11T19:15:12Z
Lists: pgsql-hackers
On Thu, May 11, 2023 at 3:06 PM Pavel Stehule <pavel.stehule@gmail.com>
wrote:

>
>
> čt 11. 5. 2023 v 20:44 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
>
>> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> > When I remove this test, then all tests passed
>>
>> This works fine for me on Fedora 37:
>>
>
> I have Fedora 38
>
>>
>> $ cd src/bin/psql
>> $ LANG=cs_CZ.utf8 make installcheck
>> make -C ../../../src/backend generated-headers
>> make[1]: Vstupuje se do adresáře „/home/tgl/pgsql/src/backend“
>> ...
>> # +++ tap install-check in src/bin/psql +++
>> t/001_basic.pl ........... ok
>> t/010_tab_completion.pl .. ok
>> t/020_cancel.pl .......... ok
>> All tests successful.
>> Files=3, Tests=169,  6 wallclock secs ( 0.06 usr  0.02 sys +  2.64 cusr
>> 0.99 csys =  3.71 CPU)
>> Result: PASS
>>
>> I wonder if you have something inconsistent in your locale
>> configuration.  What do you see from
>>
>> $ env | grep '^L[CA]'
>>
>
>  [pavel@localhost psql]$ env | grep '^L[CA]'
> LANG=cs_CZ.UTF-8
>
> Regards
>
> Pavel
>

Stranger things, but is LANG case sensitive, or formatted differently?

tom> $ LANG=cs_CZ.utf8 make installcheck
 you> LANG=cs_CZ.*UTF-8*



>
>
>>                         regards, tom lane
>>
>

Commits

  1. Tighten usage of PSQL_WATCH_PAGER.

  2. Add tab-completion for newly added SUBSCRIPTION options.

  3. psql: add an optional execution-count limit to \watch.

  4. Handle empty or all-blank PAGER setting more sanely in psql.