Sam Willis

Results 171 comments of Sam Willis

Hey @Neo-Ciber94 I've found the problem, it's due to React strict mode. Essentially PGlite is initiated twice for the same database, the first time it creates the indexeddb database to...

@thruflo i like that. Ideally we should use a weak map to store the references to previously open databases so they can be cleanly garbage collected without having to explicitly...

Hey @shadaj I considered this when first implementing the `execProtocol` method but we need to do some level of parsing for error handling internally and watching for the shutdown message....

This if also required for Cloudflare workers. We need to consider how best to do this for extensions.

Hey, yes we have a few options for doing generic extensions and a few problems to solve to enable them. So far to enable pl/pgsql we had to statically link...

@lastmjs yes ideally we will have dynamic loading of extensions. There is some complexity around this as it will likely add a little overhead. The current intention is that core...

Hey @denis-sepirak Yep, using the client instance inside an interactive transaction is not supported. There is no specific error handling for it apart from a Mutex at the moment, it...

Hey @jonathantjm, thanks for the report. This is showing a similar TOAST related error to #63, we need to investigate if there are issues with [Postgres TOAST](https://www.postgresql.org/docs/current/storage-toast.html). The fact that...