Re: display hot standby state in psql prompt
Jim Jones <jim.jones@uni-muenster.de>
From: Jim Jones <jim.jones@uni-muenster.de>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-22T09:51:49Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
psql: Add %i prompt escape to indicate hot standby status.
- dddbbc253b92 19 (unreleased) landed
-
Mark search_path as GUC_REPORT
- 28a1121fd912 18.0 cited
Attachments
- v2-0001-Add-i-prompt-escape-to-indicate-server-read-only-.patch (text/x-patch) patch v2-0001
Hi On 21.07.25 21:12, Greg Sabino Mullane wrote: > Seems good enough for me. I think as long as we document it well, it's > only going to be a net positive, even with some edge cases. I just moved the patch from PG19-Drafts to PG19-2 commitfest.[1] Thanks a lot for the feedback! Best regards, Jim 1 - https://commitfest.postgresql.org/patch/5872/