nowfound

Dev tools · November 19, 2024

EA

Embed an SQLite database in your PostgreSQL table

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…

Visit github.comAlternativestop 13% of November 2024

In plain words

pglite-fusion is a PostgreSQL extension that embeds SQLite databases directly into PostgreSQL table columns, allowing each row to contain its own SQLite database. Written in Rust, it provides a SQLITE column type along with query_sqlite and execute_sqlite functions for reading and updating embedded databases. This tool is designed for developers who need to combine PostgreSQL's relational capabilities with SQLite's embedded database functionality within a single table structure.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

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<u8>`. When a query is made, this `Vec<u8>` is written to a random file in the `&#x2F;tmp` directory. SQLite then loads the file, performs the query, and returns the result as a table containing a single row with an array of JSON-encoded values. The `execute_sqlite` function follows a similar process. However, instead of returning query results, it returns the contents of the SQLite file (stored in `&#x2F;tmp`) as a new `SQLITE` instance. [1] https:&#x2F;&#x2F;github.com&#x2F;pgcentralfoundation&#x2F;pgrx

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, November 2024

the whole month →
  • Lovable1,481

    The world's first AI Full Stack Engineer

    AI · 2024 · lovable.dev

  • Superchat1,432

    AI Agents for WhatsApp Business, Instagram & Co

    Growth · 2024 · superchat.com

  • Postiz1,195

    Your ultimate AI social media scheduling tool

    Dev tools · 2024 · postiz.com

  • IB

    I wasn't quite sure if this qualified as "Show HN" given you can't really download it and try it out. However, dang said[0]: > If it's hardware or something that's not so easy to try out over the internet, find a different way to show how it actually works—a video, for example, or a detailed post with photos. Hopefully I did that? Additionally, I've put code and a detailed guide for the netboot computer management setup on GitHub: https:&#x2F;&#x2F;github.com&#x2F;kentonv&#x2F;lanparty Anyway, if this shouldn't have been Show HN, I apologize! [0]…

    Dev tools · 2024 · lanparty.house

  • Fast, light, and frictionless note-taking

    Work · 2024 · raycast.com

  • Cap1,047

    Beautiful screen recordings, owned by you. 100% open source.

    Dev tools · 2024 · cap.so