electric-sql / pglite

Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno
https://electric-sql.com
Apache License 2.0
4.77k stars 81 forks source link

Rebase on Postgres v16 #57

Open samwillis opened 3 months ago

samwillis commented 3 months ago

Currently PGlite uses a fork or pg v15, we should rebase on v16

AntonOfTheWoods commented 1 month ago

@samwillis there seem to be short instructions for rebuilding with the currently supported v15 version. Apart from rebasing and fixing any potential conflicts, are there any other things to do for v16+? I seem to be finding lots of stability issues and it would be good to see if an upgrade makes them go away (almost certainly not but hey!).

v17 is also just around the corner, so if there were an easyish procedure then that would allow for motivated souls to get some initial testing out of the way...

samwillis commented 1 month ago

Hey @AntonOfTheWoods

The new version we are building is based on v16.2, I'm hopeful it should be ready in about two weeks. The intention is to have a patches ready for v17 on release too.

The new version is a significant refactor that unlocks dynamically runtime loaded extensions and has much better error handling.