Closed samwillis closed 3 months ago
How does extension support work for pglite? I think this is one of the most exciting aspects of pglite and would love to understand what it might look like. I have loved setting up postgres with custom extensions myself so i am interested in learning more.
Does the extension need to be included in the wasm bundle or can it be provided as a separate wasm artifact? Would plugins written with pgrx be easier to port?
Thanks for this exciting project!
edit: see https://lantern.dev/blog/pglite-lantern
Related: loading dynamic extensions compiled as WASM https://github.com/asg017/sqlite-loadable-rs/issues/5
pgvector is supported in the current alpha/@next release, expected to go final in about a week.
Support pgvector extension