dolthub / dolthub/doltgresql

get rid of autocommit behavior

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
2.1k
Forks
73
Avg merge
1d 11h
Merged PRs (30d)
152

Description

Postgres has no concept of autocommit. Any statement that takes place outside of an explicit transaction is automatically committed. Effectively: autocommit is always on in Postgres.

This means it must be impossible to set `autocommit = off` in doltgres.

Contributor guide

Open the contributing guide

Research direction

Start by locating DoltgreSQL's handling of the autocommit setting and transaction boundaries. Confirm how PostgreSQL treats statements outside explicit transactions, then identify the existing tests for setting autocommit. Done means attempts to set autocommit off are rejected or otherwise impossible, with tests covering that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.