Re: [BUGS] BUG #14772: psql autocommit does not work

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [BUGS] BUG #14772: psql autocommit does not work
Дата
Msg-id alpine.DEB.2.20.1708081829200.10425@lancre
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14772: psql autocommit does not work  ("alain bourgeois" <a.bourgeois@zetescards.be>)
Список 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 по дате отправления:

Предыдущее
От: "alain bourgeois"
Дата:
Сообщение: Re: [BUGS] BUG #14772: psql autocommit does not work
Следующее
От: jym@outlook.com
Дата:
Сообщение: [BUGS] BUG #14774: INSERT ... ON CONFLICT