On 28th of October 2025, Nathan Bossart committed patch:
Add psql PROMPT variable for search_path. The new %S substitution shows the current value of search_path. Note that this only works when connected to Postgres v18 or newer, since search_path was first marked as GUC_REPORT in commit 28a1121fd9. On older versions that don't report search_path, %S is replaced with a question mark. Suggested-by: Lauri Siltanen <[email protected]> Author: Florents Tselai <[email protected]> Reviewed-by: Jelte Fennema-Nio <[email protected]> Reviewed-by: Jim Jones <[email protected]> Reviewed-by: Chao Li <[email protected]> Discussion: https://postgr.es/m/CANsM767JhTKCRagTaq5Lz52fVwLPVkhSpyD1C%2BOrridGv0SO0A%40mail.gmail.com
Continue reading Waiting for PostgreSQL 19 – Add psql PROMPT variable for search_path.