Sam Willis
Sam Willis
Adding note here for others after we chatted on Discord here: https://discord.com/channels/933657521581858818/1212676471588520006/1225898205292793928 Good idea on making PGlite an EventEmitter, we should do that, and it's needed for when we support...
With `waitReady` and the newer static `await PGlite.create()` I think adding the await to `execProtocol` will add more complexity and so I'm going to close this issue.
`initdb` is failing complete when run in bun. Only about half the required work is done, it then fails to start in the next step. ``` 2024-04-02 14:19:49.280 GMT [42]...
Fixed in PGlite v0.2.0.alpha
We've not built one yet, but it's on the list! best way to debug for now it to make the db global so you can access it from the terminal,...
The `Failed to execute 'postMessage' on 'BroadcastChannel'` error makes me think it could be our side as we use a BroadcastChannel to communicate with the worker. It's either: - drizzle...
that would be a great addition. Would very happily take a PR to add those options to live.query and useLiveQuery, I think it's a little harder on incremental version due...
Offending line here: https://github.com/electric-sql/pglite/blob/e522c118b2e304879c99927d07b0e83337db32e5/packages/pglite/src/types.ts#L122 we should double check the behaviour of over js clients, but they may predate JSONB and so I'm inclined to change.
There's a third option, mark the parameter as the "unknown" type. With the extended wire protocol you can specify the type of each param with its oid or set it...
Thanks @alexgleason, I'll take a good look at what they do and replicate it.