Re: Surprising behaviour of \set AUTOCOMMIT ON - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Surprising behaviour of \set AUTOCOMMIT ON
Date
Msg-id 10040.1472918738@sss.pgh.pa.us
Whole thread Raw
In response to Re: Surprising behaviour of \set AUTOCOMMIT ON  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers
"Daniel Verite" <daniel@manitou-mail.org> writes:
>     Rushabh Lathia wrote:
>> so its good to have all the set variable related checks inside
>> SetVariable().

> There's already another way to skip the \set check:
>   select 'on' as "AUTOCOMMIT" \gset

Hmm, that might be a bug.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Logical Replication WIP
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Index Onlys Scan for expressions