Re: Reg:Autocommit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday, July 25, 2015, Shreeyansh Dba <shreeyansh2014@xxxxxxxxx> wrote:
Hi David ,
Thanks for reply,
I tried it but the "autocommit" is showing "on"  as mention below.

postgres=# \set autocommit off;

postgres=# show autocommit;
 autocommit
------------
 on
(1 row)

The first command sets a psql variable named autocommit.
The second commands show the sql guc named autocommit.
These are two different things.
Try "select :AUTOCOMMIT"
Note, in the psql variable capitalization matters.  You must use all-caps.

David J.

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux