Re: [BUGS] BUG #14772: psql autocommit does not work - Mailing list pgsql-bugs

From Fabien COELHO
Subject Re: [BUGS] BUG #14772: psql autocommit does not work
Date
Msg-id alpine.DEB.2.20.1708081829200.10425@lancre
Whole thread Raw
In response to Re: [BUGS] BUG #14772: psql autocommit does not work  ("alain bourgeois" <a.bourgeois@zetescards.be>)
List pgsql-bugs
> also, the semicolumn, needed for some statementds (sql) but not all.

Yes, it is pretty strange.

The backslash command are outside of SQL and finished on the line. You can 
use them anywhere:
  psql> SELECT         \set x 2         1         \set y 3         ;  # 1  psql> \echo :x :y  # 2 3

Basically SQL & backslash commands are unrelated. The SQL is sent to the 
server, the backslash is executed on the client...

-- 
Fabien.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: "alain bourgeois"
Date:
Subject: Re: [BUGS] BUG #14772: psql autocommit does not work
Next
From: jym@outlook.com
Date:
Subject: [BUGS] BUG #14774: INSERT ... ON CONFLICT