Re: psql tests hangs

From: Kirk Wolak <wolakk(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Subject: Re: psql tests hangs
Date: 2023-05-12 06:19:54
Message-ID: CACLU5mRatJ-agEN9WBPpA39+x7-STkaHTJJRRhDz+2+YtoUMsw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 12, 2023 at 1:46 AM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
wrote:

> pá 12. 5. 2023 v 6:50 odesílatel Kirk Wolak <wolakk(at)gmail(dot)com> napsal:
>
>> On Fri, May 12, 2023 at 12:14 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>>> Kirk Wolak <wolakk(at)gmail(dot)com> writes:
>>> > Did you try the print statement that Andrey asked Pavel to try?
>>> ...
>>
>>
> The strange thing is hanging. Broken tests depending on locale are usual.
> But I didn't remember hanging.
>
> Regards
>
> Pavel
>

So, if you do psql -c "..."
with both of those \watch instructions, do either one hang? (I am now
guessing "no")

I know that perl is using a special library to "remote control psql" (like
a pseudo terminal, I guess).
[I had to abort some of the perl testing in Windows because that perl
library didn't work with my psql in Windows]

Next, can you detect which process is hanging? (is it perl, the library,
psql, ?).

I would be curious now about the details of your perl install, and your
perl libraries...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2023-05-12 06:33:38 Re: Support logical replication of DDLs
Previous Message Pavel Stehule 2023-05-12 05:45:39 Re: psql tests hangs