pglite-fusion is a PostgreSQL extension that allows you to embed SQLite databases into your PostgreSQL tables by enabling the creation of columns with the `SQLITE` type. This means every row in the table can have an embedded SQLite database.
In addition to the PostgreSQL `SQLITE` type, pglite-fusion provides the `query_sqlite`` function for querying SQLite databases and the `execute_sqlite` function for updating them. Additional functions are listed in the project’s README.
The pglite-fusion extension is written in Rust using the pgrx framework [1].
----
Implementation Details
The PostgreSQL `SQLITE` type is stored as a CBOR-encoded `Vec
The `execute_sqlite` function follows a similar process. However, instead of returning query results, it returns the contents of the SQLite file (stored in `/tmp`) as a new `SQLITE` instance.
[1] https://github.com/pgcentralfoundation/pgrx
Comments URL: https://news.ycombinator.com/item?id=42182146
Points: 28
# Comments: 12
Accedi per aggiungere un commento
Altri post in questo gruppo

Article URL: http://rednafi.com/go/di_frameworks_bleh/
Comments URL: https://
What are you working on? Any new ideas that you're thinking about?
Comments URL: https://news.ycombinator.com/item?id=44090387

Article URL: https://openinverter.org/forum/viewtopic.php?t=3551
Article URL: https://behind.pretix.eu/2018/01/20/cups-driver/

Demo: https://dustinbrett.com
Hey HN!
I've been building my passion project daedalOS for over 4 years now.
The original idea was to give