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

Aleksander Alekseev <aleksander@timescale.com>

From: Aleksander Alekseev <aleksander@timescale.com>
To: pgsql-committers@lists.postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alexander Korotkov <aekorotkov@gmail.com>, Andrew Dunstan <andrew@dunslane.net>
Date: 2023-04-10T16:44:54Z
Lists: pgsql-hackers
Hi,

> The attached makes check-world pass for me under these conflicting
> environment settings, but it's kind of a scary change.  Thoughts?

FWIW my MacOS and Linux laptops have no complaints about the patch.

-- 
Best regards,
Aleksander Alekseev



Commits

  1. Fix Utils.pm's locale-munging so that Perl itself is also affected.

  2. Fix locale-dependent test case.

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