Fix overwrite of successive result sets with psql's <query> \g fname

Edit
ID 3923
Title Fix overwrite of successive result sets with psql's <query> \g fname
Topic Bug Fixes
Created 2022-09-30 15:24:54
Last modified 2022-10-03 19:13:21 (2 years, 1 month ago)
Latest email 2022-11-01 12:43:03 (2 years, 1 month ago)
Status
2022-11: Committed
Target version 15
Authors Daniel Vérité (danielverite)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/3923
git checkout commitfest/cf/3923
Emails
[patch] \g with multiple result sets and \watch with copy queries
First at 2022-09-29 11:10:43 by "Daniel Verite" <daniel at manitou-mail.org>
Latest at 2022-11-01 12:43:03 by "Daniel Verite" <daniel at manitou-mail.org>
Latest attachment (psql-test-g-1.patch) at 2022-10-10 18:17:47 from Fabien COELHO <coelho at cri.ensmp.fr>
    Attachment (psql-test-g-1.patch) at 2022-10-10 18:17:47 from Fabien COELHO <coelho at cri.ensmp.fr> (Patch: Yes)
    Attachment (tests-psql-g-o-file.patch) at 2022-10-07 13:18:54 from "Daniel Verite" <daniel at manitou-mail.org> (Patch: Yes)
    Attachment (01-psql-backslash-g-fix.patch) at 2022-09-29 11:10:43 from "Daniel Verite" <daniel at manitou-mail.org> (Patch: Yes)
History
When Who What
2022-10-03 19:13:21 Tom Lane (tgl) Closed in commitfest 2022-11 with status: Committed
2022-10-03 19:13:21 Tom Lane (tgl) Changed committer to tgl
2022-09-30 15:25:39 Daniel Vérité (danielverite) Changed authors to Daniel Vérité (danielverite)
2022-09-30 15:25:39 Daniel Vérité (danielverite) Changed targetversion to 15
2022-09-30 15:24:54 Daniel Vérité (danielverite) Attached mail thread 4333844c-2244-4d6e-a49a-1d483fbe304f@manitou-mail.org
2022-09-30 15:24:54 Daniel Vérité (danielverite) Created patch record
Edit