Fix plpgsql syntax problem with -- style comments in CASE

Edit
ID 4916
Title Fix plpgsql syntax problem with -- style comments in CASE
Topic Bug Fixes
Created 2024-04-08 23:10:50
Last modified 2024-04-11 02:29:46 (7 months, 1 week ago)
Latest email 2024-04-13 05:45:35 (7 months, 1 week ago)
Status
2024-07: Committed
Target version stable
Authors Tom Lane (tgl), Erik Wienhold (ewie)
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/4916
git checkout commitfest/cf/4916
Emails
CASE control block broken by a single line comment
First at 2024-04-06 18:14:35 by Michal Bartak <maxym.srpl at gmail.com>
Latest at 2024-04-13 05:45:35 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (v3-0001-plpgsql-accept-trailing-line-comment-in-CASE-WHEN.patch) at 2024-04-08 22:54:52 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (v3-0001-plpgsql-accept-trailing-line-comment-in-CASE-WHEN.patch) at 2024-04-08 22:54:52 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v2-0001-plpgsql-accept-trailing-line-comment-in-CASE-WHEN.patch) at 2024-04-07 14:56:53 from Erik Wienhold <ewie at ewie.name> (Patch: Yes)
    Attachment (v1-0001-plpgsql-create-valid-IN-expression-for-CASE-WHEN-.patch) at 2024-04-06 21:14:23 from Erik Wienhold <ewie at ewie.name> (Patch: Yes)
History
When Who What
2024-04-11 02:29:46 Tom Lane (tgl) Closed in commitfest 2024-07 with status: Committed
2024-04-11 02:29:46 Tom Lane (tgl) Changed committer to tgl
2024-04-08 23:11:45 Tom Lane (tgl) Changed targetversion to stable
2024-04-08 23:11:13 Tom Lane (tgl) Changed authors to Tom Lane (tgl), Erik Wienhold (ewie)
2024-04-08 23:10:51 Tom Lane (tgl) Attached mail thread CAAVzF_FjRoi8fOVuLCZhQJx6HATQ7MKm=aFOHWZODFnLmjX-xA@mail.gmail.com
2024-04-08 23:10:51 Tom Lane (tgl) Created patch record
Edit