On Mon, 2022-02-28 at 12:34 +0100, Wim Bertels wrote:
> I guess the main remark is, it not so intuitive that \e behaves
> differently then \i
Ok, but if the differences are well documented, it should be ok.
You could submit a patch that changes the behavior, but people
might be unhappy if establi
Laurenz Albe schreef op vr 25-02-2022 om 10:33 [+0100]:
> On Thu, 2022-02-24 at 18:16 +0100, Wim Bertels wrote:
> This was interpreted as if you had entered it in a single line:
>
> \set x 1 select :x
>
> So "x" is now "1select1;".
yes
>
> I don't quite understand what you mean, but the behavi
On Thu, 2022-02-24 at 18:16 +0100, Wim Bertels wrote:
> it seems that \set does not interpret an 'enter' interactively the same
> as an 'enter' in a short script made with \e
>
> * case 1:
> postgres=# \set x 1
> postgres=# select :x;
> ?column?
> --
> 1
Ok.
> * case 2:
> post
Hello,
a quick question about
https://www.postgresql.org/docs/current/app-psql.html
and the \set option
it seems that \set does not interpret an 'enter' interactively the same
as an 'enter' in a short script made with \e
###
* case 1:
postgres=# \set x 1
postgres=# select :x;
?column?
---