-
Was trying to use PGLite in Vite, but getting this error in the browser:
```
Uncaught (in promise) RuntimeError: Aborted(CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, f…
-
I'm trying to use pglite with a libpq-based application. I'm using pg-gateway as a proxy.
Following sample C code snippet (which calls `PQprepare` and `PQexecPrepared`) seems not work with pglite.
…
-
Hello team! This is awesome so far.
One thing I'm getting, especially running PGLite in a test suite, is quite a lot of log spew:
```
console.log
Running in main thread, faking onCustomMessa…
-
I am attempting to follow: https://github.com/electric-sql/pglite/tree/1de36fef444f3c0030216809c1226dae7c15230d/packages/pglite-sync/example
package.json
```
{
"name": "sync",
"version": "1…
-
I experienced some problem with a `SELECT FOR UPDATE` query where two concurrent tx reading "stale" data of the locked row. I also tried to set the isolation level to `SERIALIZABLE` but my query still…
-
I've been trying to add support for Neon Postgresql database read/writes when in development rather than relying on PGlite due to losing the temporary database when when you exit the dev build.
I'v…
-
We need to refactor PGliteWorker to parse on the main thread and only use `execProtocol` and a transaction mutex/lock in the worker. This will fix #208, and will unlock transferring rather than copyin…
-
The new extension system is amazing 🎉 but having an issue loading extensions in a Web Worker:
Works:
```typescript
import { PGlite } from '@electric-sql/pglite'
import { vector } from '@electr…
-
To reproduce it, create a table with a JSONB field and insert some data but leave the JSONB field to be null.
Request the shape for table, and you will see the JSONB field being sent as an empty stri…
-
I read the document, but now I confused how electric-next sync data into local database, http api get the data and then how to update data in the local database?