Skip to content

fix: enable autocommit for postgres to avoid concurrent transaction issues#10

Merged
NicholasGoh merged 1 commit intoNicholasGoh:mainfrom
shaunaa126:main
May 1, 2025
Merged

fix: enable autocommit for postgres to avoid concurrent transaction issues#10
NicholasGoh merged 1 commit intoNicholasGoh:mainfrom
shaunaa126:main

Conversation

@shaunaa126
Copy link
Copy Markdown
Contributor

This fixes the following error when setting up your own postgres instance:

ERROR:  CREATE INDEX CONCURRENTLY cannot run inside a transaction block
STATEMENT:  
            CREATE INDEX CONCURRENTLY IF NOT EXISTS checkpoints_thread_id_idx ON checkpoints(thread_id);
           
ERROR:  relation "checkpoints" does not exist at character 1308

@NicholasGoh NicholasGoh merged commit 257e506 into NicholasGoh:main May 1, 2025
1 check failed
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.

2 participants