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

Greg Sabino Mullane <htamfids@gmail.com>

From: Greg Sabino Mullane <htamfids@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: daniel@yesql.se, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-22T21:23:54Z
Lists: pgsql-hackers

Attachments

Thank you for the feedback, everyone. Attached is version 4 of the patch,
featuring a few tests and minor rewordings.

Cheers,
Greg

Commits

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