psql: Disable %P (pipeline status) for non-active connection In the psql prompt, %P prompt shows the current pipeline status. Unlike most of the other options, its status was showing up in the output generated even if psql was not connected to a database. This was confusing, because without a connection a pipeline status makes no sense.
Like the other options, %P is updated so as its data is now hidden without an active connection. Author: Chao Li <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d42735b1e8c8c6454a07b709e4ff7ccae4ad58c6 Modified Files -------------- src/bin/psql/prompt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
