On Mon, 9 Jun 2025 at 17:54, Florents Tselai <florents.tse...@gmail.com> wrote:
> Here’s a quick attempt that makes %S substitue for a search_path
> Like
>  \set PROMPT1 'user:%n search_path: %S'

+   else
+       return PQuser(pset.db);

That seems like a copy paste error. If we don't have data for it, we
should either use the empty string, or some string like "<unknown>".

Other than that, the patch looks good (but I haven't tested it yet).


Reply via email to