| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Soumya S Murali <soumyamurali(dot)work(at)gmail(dot)com> |
| Cc: | Oleg Tselebrovskiy <o(dot)tselebrovskiy(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: 001_password.pl fails with --without-readline |
| Date: | 2026-01-17 00:19:38 |
| Message-ID: | 1892298.1768609178@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I wrote:
> There are various ways that could be done, but what I propose in the
> attached v3 is to break the banner into two psql variables, like so:
> \set part1 something
> \set part2 else
> \echo :part1 :part2
> Then, if we match for "something else", there is no possibility
> whatsoever that that will match echoed commands, only the real
> output of the \echo.
On second thought, that's far more complicated than necessary.
It should be sufficient to insert quote marks in the echo commands.
regards, tom lane
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-background-psql-without-readline.patch | text/x-diff | 3.2 KB |
| v4-0002-030-pager-fix.patch | text/x-diff | 1.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Berg | 2026-01-17 00:31:32 | Re: failed NUMA pages inquiry status: Operation not permitted |
| Previous Message | Michael Paquier | 2026-01-17 00:13:53 | Re: Extended Statistics set/restore/clear functions. |