Adding comments to help understand psql hidden queries

Edit
ID 4764
Title Adding comments to help understand psql hidden queries
CI (CFBot) Summary
Stats (from CFBot) Patch version: v8, Patch count: 2, First patch: +176−89, All patches: +217−100
Tags libpq
Created 2024-01-04 18:36:28
Last modified 2026-03-23 15:50:19 (10 hours ago)
Latest email 2026-03-23 23:03:41 (3 hours ago)
Status
PG19-Final (2026-03-01 – 2026-03-31): Needs review
PG19-1 (2025-07-01 – 2025-07-31): Moved to different CF
2025-03 (2025-03-01 – 2025-04-08): Moved to different CF
2025-01 (2025-01-01 – 2025-01-31): Moved to different CF
2024-11 (2024-11-01 – 2024-11-30): Moved to different CF
2024-09 (2024-09-01 – 2024-09-30): Moved to different CF
2024-07 (2024-07-01 – 2024-07-31): Moved to different CF
2024-03 (2024-03-01 – 2024-04-08): Moved to different CF
Target version
Authors David Christensen (davidchristensen), Greg Sabino Mullane (greg)
Reviewers Tom Lane (tgl)Become reviewer
Committer
Links
Emails
Adding comments to help understand psql hidden queries
First at 2023-12-11 21:53:01 by Greg Sabino Mullane <htamfids at gmail.com>
Latest at 2026-03-23 23:03:41 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (v8-0001-Add-comment-header-for-generated-SQL-inside-psql.patch) at 2026-03-23 17:35:04 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (v8-0001-Add-comment-header-for-generated-SQL-inside-psql.patch) at 2026-03-23 17:35:04 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (0007-Add-comment-header-for-generated-SQL-inside-psql.patch) at 2026-03-22 15:15:38 from Greg Sabino Mullane <htamfids at gmail.com> (Patch: Yes)
    Attachment (v6-0001-Improve-SQL-comments-on-echo-hidden-output.patch) at 2025-01-18 20:37:54 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v5-0001-Improve-SQL-comments-on-echo-hidden-output.patch) at 2024-04-04 16:12:18 from David Christensen <david+pg at pgguru.net> (Patch: Yes)
    Attachment (v4-0001-Improve-SQL-comments-on-echo-hidden-output.patch) at 2024-04-03 17:16:05 from David Christensen <david+pg at pgguru.net> (Patch: Yes)
    Attachment (v3-0002-Add-output-of-the-command-that-got-us-here-to-the.patch) at 2024-03-22 15:39:10 from David Christensen <david+pg at pgguru.net> (Patch: Yes)
    Attachment (v2-0002-Add-output-of-the-command-that-got-us-here-to-the.patch) at 2024-03-21 17:31:42 from David Christensen <david+pg at pgguru.net> (Patch: Yes)
    Attachment (0001-Add-output-of-the-command-that-got-us-here-to-the-QU.patch) at 2024-02-01 22:39:08 from David Christensen <david+pg at pgguru.net> (Patch: Yes)
    Attachment (psql.echo.hidden.comments.v1.patch) at 2023-12-11 21:53:01 from Greg Sabino Mullane <htamfids at gmail.com> (Patch: Yes)
History
When Who What
2026-03-23 15:50:19 Tom Lane (tgl) New status: Needs review
2026-03-22 15:34:28 CFbot Patch does not need rebase anymore
2026-01-09 14:42:57 Greg Sabino Mullane (greg) Moved from CF PG19-1 to CF PG19-Final
2025-06-24 13:45:23 Greg Sabino Mullane (greg) Moved from CF 2025-03 to CF PG19-1
2025-04-03 06:07:29 CFbot Patch needs rebase
2025-02-26 18:16:29 David Christensen (davidchristensen) Closed in commitfest 2025-01 with status: Moved to next CF
2025-01-18 20:38:23 Tom Lane (tgl) New status: Waiting on Author
2025-01-18 20:38:18 Tom Lane (tgl) Added tgl as reviewer
2024-12-10 07:41:42 Michael Paquier (michael-kun) Closed in commitfest 2024-11 with status: Moved to next CF
2024-10-08 01:18:46 Michael Paquier (michael-kun) Closed in commitfest 2024-09 with status: Moved to next CF
2024-08-01 02:05:17 Corey Huinker (coreyh) Closed in commitfest 2024-07 with status: Moved to next CF
2024-04-09 06:26:23 Andrey Borodin (x4m) Closed in commitfest 2024-03 with status: Moved to next CF
2024-04-09 06:26:20 Andrey Borodin (x4m) Changed targetversion to None
2024-03-21 18:39:44 David Christensen (davidchristensen) Changed authors to David Christensen (davidchristensen), Greg Sabino Mullane (greg)
2024-03-04 06:41:20 Andrey Borodin (x4m) Changed topic to Clients
2024-01-04 18:36:47 Greg Sabino Mullane (greg) Changed authors to Greg Sabino Mullane (greg)
2024-01-04 18:36:47 Greg Sabino Mullane (greg) Changed targetversion to 17
2024-01-04 18:36:28 Greg Sabino Mullane (greg) Attached mail thread CAKAnmmJz8Hh=8Ru8jgzySPWmLBhnv4=oc_0KRiz-UORJ0Dex+w@mail.gmail.com
2024-01-04 18:36:28 Greg Sabino Mullane (greg) Created patch record
Edit