Re: [patch] \g with multiple result sets and \watch with copy queries

Corey Huinker <corey.huinker@gmail.com>

From: Corey Huinker <corey.huinker@gmail.com>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2022-10-10T17:58:02Z
Lists: pgsql-hackers
>
> This is a bit more complicated than the usual tests, but not
> that much.
> Any opinions on this?


+1

I think that because it is more complicated than usual psql, we may want to
comment on the intention of the tests and some of the less-than-common psql
elements (\set concatenation, resetting \o, etc). If you see value in that
I can amend the patch.

Are there any options on COPY (header, formats) that we think we should
test as well?

Commits

  1. Fix psql's behavior with \g for a multiple-command string.

  2. Remove dynamic translation of regression test scripts, step 1.