Restart BackgroundPsql's timer more nicely.
Daniel Gustafsson <dgustafsson@postgresql.org>
Author:
Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2026-02-13T10:36:31Z
Releases:
19 (unreleased)
Restart BackgroundPsql's timer more nicely. Use BackgroundPsql's published API for automatically restarting its timer for each query, rather than manually reaching into it to achieve the same thing. 010_tab_completion.pl's logic for this predates the invention of BackgroundPsql (and 664d75753 missed the opportunity to make it cleaner). 030_pager.pl copied-and-pasted the code. Author: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Andrew Dunstan <andrew@dunslane.net> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/1100715.1712265845@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/t/010_tab_completion.pl | modified | +3 −4 |
| src/bin/psql/t/030_pager.pl | modified | +3 −4 |
Discussion
- IPC::Run::time[r|out] vs our TAP tests 36 messages · 2024-04-04 → 2026-02-11