8000 [sqlite] Set PRAGMA only once for catalogs. by shubhamdhama · Pull Request #651 · dimitri/pgcopydb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[sqlite] Set PRAGMA only once for catalogs. #651

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

shubhamdhama
Copy link
Contributor

I observed frequent [SQLite] PRAGMA journal_mode = WAL when it should be run only once as it's a sqlite database property, not something that has be set for every connection. This might fix
https://github.com/dimitri/pgcopydb/actions/runs/7614380466/job/20736769276?pr=647

2024-01-22 16:45:01.923 44 ERROR  catalog.c:7129            [SQLite]: PRAGMA journal_mode = WAL failed: database is locked

I observed frequent `[SQLite] PRAGMA journal_mode = WAL` when it should be
run only once as it's a sqlite database property, not something that has be
set for every connection. This might fix
https://github.com/dimitri/pgcopydb/actions/runs/7614380466/job/20736769276?pr=647

```
2024-01-22 16:45:01.923 44 ERROR  catalog.c:7129            [SQLite]: PRAGMA journal_mode = WAL failed: database is locked
```
@dimitri dimitri merged commit 69c1340 into dimitri:main Jan 25, 2024
@shubhamdhama shubhamdhama deleted the set-pragma-only-once branch January 25, 2024 12:37
gokhangulbiz pushed a commit to gokhangulbiz/pgcopydb that referenced this pull request Jan 26, 2024
I observed frequent `[SQLite] PRAGMA journal_mode = WAL` when it should be
run only once as it's a sqlite database property, not something that has be
set for every connection. This might fix
https://github.com/dimitri/pgcopydb/actions/runs/7614380466/job/20736769276?pr=647

```
2024-01-22 16:45:01.923 44 ERROR  catalog.c:7129            [SQLite]: PRAGMA journal_mode = WAL failed: database is locked
```
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
0