set autocommit only for select statements

From: Sbob <sbob(at)quadratum-braccas(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: set autocommit only for select statements
Date: 2022-04-11 16:14:57
Message-ID: 548f2ed6-3209-705d-09e2-a5afbc6fb71c@quadratum-braccas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi;

Is there a way to set "autocommit = on" for all select statements and
have "autocommit = off" for all other statements?

Thanks in advance

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2022-04-11 16:19:13 Re: set autocommit only for select statements
Previous Message Ron 2022-04-07 10:44:44 Re: Autovacuum script