Re: 001_password.pl fails with --without-readline
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oleg Tselebrovskiy <o.tselebrovskiy@postgrespro.ru>
Cc: pgsql-hackers@postgresql.org, Soumya S Murali <soumyamurali.work@gmail.com>
Date: 2026-01-19T19:01:31Z
Lists: pgsql-hackers
=?UTF-8?B?T2xlZyBUc2VsZWJyb3Zza2l5?= <o.tselebrovskiy@postgrespro.ru> writes: >> While debugging that I got annoyed that a match failure results >> in a timeout exit with absolutely no data logged about what output >> the test got. So v3-0001 also changes timeout() --- which creates >> a timeout that aborts the test --- to timer() --- which does what >> the test author clearly expected, namely just stop waiting for >> more input. (There's a thread somewhere around here about making >> that change more globally, but I went ahead and did it here.) > I've found your thread about this - [1], and I agree, using > timer() is better here, we get the stdout and stderr of a timed-out > query Thanks for digging that up. After re-reading that thread I'm feeling nervous about changing timeout() to timer() in something we need to back-patch, so I'll leave that change out of the committed patch. We ought to raise the priority of making that happen, though. > Also, thanks for making both "pump until" blocks identical, it seemed > a little strange to have them be different. Yeah, I couldn't see a reason for that either. regards, tom lane
Commits
-
Make psql/t/030_pager.pl more robust.
- 6918434a4acb 19 (unreleased) landed
-
Improve guards against false regex matches in BackgroundPsql.pm.
- fc84b3977e20 14.21 landed
- f356e2888cdb 17.8 landed
- bb6aedeca8d4 15.16 landed
- a1d7ae2b2e38 19 (unreleased) landed
- 92b3cc5a28f1 18.2 landed
- 6548e4a10d18 16.12 landed
-
Fix unsafe pushdown of quals referencing grouping Vars
- 34740b90bc12 19 (unreleased) cited
-
tests: BackgroundPsql: Fix potential for lost errors on windows
- 8b886a4e3488 18.0 cited