Re: "set autocommit on" in golang client query

2022-08-01 Thread Guillaume Lelarge
Hi, Le lun. 1 août 2022 à 15:10, Rory Campbell-Lange a écrit : > Apologies for the rather naive question. > > I have a psql migration script to call a looping procedure which commits > batches of data along the following lines: > > set search_path = a, b c; > \set AUTOCOMMIT on > --

"set autocommit on" in golang client query

2022-08-01 Thread Rory Campbell-Lange
Apologies for the rather naive question. I have a psql migration script to call a looping procedure which commits batches of data along the following lines: set search_path = a, b c; \set AUTOCOMMIT on -- call procedure with nested transactions CALL c.pr_my_procedure(debug=>true);