Re: Prevent psql \watch from running queries that return no rows

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-28T13:44:49Z
Lists: pgsql-hackers
> On 22 Aug 2023, at 23:23, Greg Sabino Mullane <htamfids@gmail.com> wrote:
> 
> Thank you for the feedback, everyone. Attached is version 4 of the patch, featuring a few tests and minor rewordings.

I had another look, and did some playing around with this and I think this
version is ready to go in, so I will try to get that sorted shortly.

--
Daniel Gustafsson




Commits

  1. Allow \watch queries to stop on minimum rows returned