| From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
|---|---|
| To: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> |
| Cc: | Florents Tselai <florents(dot)tselai(at)gmail(dot)com>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, Lauri Siltanen <lauri(dot)siltanen(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Feature: psql - display current search_path in prompt |
| Date: | 2025-10-27 20:29:37 |
| Message-ID: | aP_WMcZ57YAEB2sM@nathan |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Here is what I have staged for commit. I ended up simplifying the patch a
bit. In particular, I thought better of the question mark business. It
looks like we ordinarily just skip values that can't be found, and an empty
search_path will appear as "" (two double-quotes), so you can still
distinguish empty versus not-available.
--
nathan
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-Add-psql-PROMPT-variable-for-the-current-search_p.patch | text/plain | 2.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2025-10-27 20:42:36 | Re: Optimizing ResouceOwner to speed up COPY |
| Previous Message | Jim Jones | 2025-10-27 20:17:03 | Re: display hot standby state in psql prompt |