From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | dhanabakeeswari15(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: BUG #17075: Cannot commit when autoCommit is enabled |
Date: | 2021-06-28 15:51:52 |
Message-ID: | CAKFQuwY3Zcr2TBQdsJJCSFa+-w3NCP7g0nvaH3snCU67hV9ksw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Mon, Jun 28, 2021 at 8:34 AM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:
> I need to disable the auto-commit in the DB level for permanently.
>
PostgreSQL does not provide a knob to enable/disable this. If you don't
use an explicit BEGIN your command will commit as soon as it successfully
executes (and will rollback immediately if there is a failure). As Julien
said, though, your driver may be doing stuff above and beyond the SQL
commands you yourself send. Proper usage of you chosen driver/library is
outside the scope of the general PostgreSQL mailing lists (and in any case
this report does not constitute a bug report).
At least, unless you are using libpq directly or somehow manage to get this
to happen in psql.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2021-06-28 16:00:00 | BUG #17076: Server crashes on composing an error message about invalid modulus for a new table partition |
Previous Message | Julien Rouhaud | 2021-06-28 15:43:45 | Re: BUG #17075: Cannot commit when autoCommit is enabled |