Fix bogus tab-completion queries.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 369398ed886dc13956654777467536625e6fc7ee
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-03-13T23:52:48Z
Releases: 15.0
Fix bogus tab-completion queries.

My (tgl's) thinko in commit 02b8048ba: I forgot that the first
argument of COMPLETE_WITH_QUERY_PLUS is a format string, and
hence failed to double a literal %.  These two places seem to
be the only ones that are wrong, though.

Vignesh C

Discussion: https://postgr.es/m/CALDaNm0hBO+tZqBWhBjTVxyET1GWANq5K9XpQ07atSxnFXbG7w@mail.gmail.com

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +2 −2

Discussion