pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: psql: Disable %P (pipeline status) for non-active connection
2+ messages / 1 participants
[nested] [flat]

* pgsql: psql: Disable %P (pipeline status) for non-active connection
@ 2026-01-29 07:21 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2026-01-29 07:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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 <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/86EF76B5-6E62-404D-B9EC-66F4714D7D5F@gmail.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b77282f250103f2ecd54b9f45421c742006317b

Modified Files
--------------
src/bin/psql/prompt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: psql: Disable %P (pipeline status) for non-active connection
@ 2026-01-29 07:21 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2026-01-29 07:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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 <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/86EF76B5-6E62-404D-B9EC-66F4714D7D5F@gmail.com
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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-01-29 07:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-01-29 07:21 pgsql: psql: Disable %P (pipeline status) for non-active connection Michael Paquier <michael@paquier.xyz>
2026-01-29 07:21 pgsql: psql: Disable %P (pipeline status) for non-active connection Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox