Skip to content

Don't create transactions automatically#191

Merged
simolus3 merged 2 commits into
mainfrom
avoid-auto-tx
Jun 17, 2026
Merged

Don't create transactions automatically#191
simolus3 merged 2 commits into
mainfrom
avoid-auto-tx

Conversation

@simolus3

Copy link
Copy Markdown
Contributor

For the reasons described in #190, automatically creating a transaction for the duration of a SQL function call can be harmful. This replaces create_auto_tx_function with a check returning an error code when the function is called outside of transactions.

Closes #190.

@simolus3 simolus3 marked this pull request as ready for review June 17, 2026 10:31
@simolus3 simolus3 merged commit dbf4cbb into main Jun 17, 2026
32 checks passed
@simolus3 simolus3 deleted the avoid-auto-tx branch June 17, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove create_auto_tx_function?

2 participants