From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Request - repeat value of \pset title during \watch interations |
Date: | 2016-01-10 18:36:41 |
Message-ID: | CAKFQuwZqjz-je3Z=8JDOdYm3JM-N2UL4cuqy5VH8N75E5v1VVQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
When executing a query using \watch in psql the first execution of the
query includes "Title is [...]" when \pset title is in use. Subsequent
executions do not. Once that first display goes off-screen the information
in the title is no longer readily accessible. If using \watch for a
long-running monitoring query it can be helpful to incorporate some context
information into the title.
Does anyone capable agree enough to implement this?
Any suggestions for a better way to accomplish the goal?
I have a watch query whose title incorporates the name of the libpq service
name (via bash variables on Linux) so that I can verify which database it
is monitoring without having to kill the watched command and inspect the
prompt, command line, or process.
Working with 9.3 presently.
Thanks!
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Regina Obe | 2016-01-10 18:44:37 | Re: Code of Conduct: Is it time? |
Previous Message | Joshua D. Drake | 2016-01-10 16:53:57 | Re: Code of Conduct: Is it time? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2016-01-10 19:12:39 | Re: WIP: bloom filter in Hash Joins with batches |
Previous Message | Tom Lane | 2016-01-10 18:25:40 | Why doesn't src/backend/port/win32/socket.c implement bind()? |