Re: \watch 0 or \watch 0.00001 doesn't do what I want

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: \watch 0 or \watch 0.00001 doesn't do what I want
Date: 2024-10-10 05:47:25
Message-ID: B6090769-8E3D-47D2-9870-EDF66EBB6988@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 10 Oct 2024, at 04:49, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> How about something like the simple patch attached?

Let’s add a comment to tight-loop if statement. And a test for the case.

Best regards, Andrey Borodin.

Attachment Content-Type Size
v2-0001-Prevent-psql-haning-in-watch-with-submillisecond-.patch application/octet-stream 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shinya Kato 2024-10-10 05:56:29 Re: Set AUTOCOMMIT to on in script output by pg_dump
Previous Message Peter Smith 2024-10-10 05:23:22 Re: Pgoutput not capturing the generated columns