Skip to content

Why no read-only DB open from other process? #1517

Open
@isbm

Description

@isbm

Hi!
I am wondering why I cannot open a database from another process for read-only purposes. 😢 Currently it explicitly flock's the database and checks if it can do it again. But what if there would be a switch that errors all inserts/deletes/updates, but leaves working only reading methods?

This limitation pushes to reinvent a wheel with IPC so then the other programs has to communicate with the main thread of the locking app. I am still failing to understand what's wrong to just open the database and just read it?

Currently I have to copy the entire database to read it "offline" and then delete it, once I've done. 😢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions