Tudor Zaharia

Results 99 comments of Tudor Zaharia

> Would also like a method to clear the database. For unit testing re-initializing pglite every test is too slow. I am using a query to drop all tables in...

We have some ideas around this that don't require an additional package. One of them is to extend the API to provide a callback that would be invoked on each...

> That depends on if it works on both, postgres and pglite. But your example is only PGlite specific: ``` import { PGlite } from '@electric-sql/pglite'; import Cursor from 'pg-cursor';...

@ai `error: could not change permissions of directory "/tmp/pglite/base": Operation not permitted` Can you please check the permissions on `/var/mnt/db`?

> But why we have `/tmp/pglite/base` path in the log? @ai we use emscripten's filesystem to store pglite's (postgres') files. the emscripten fs is mouted at `/` and we use...

@ai Unsure what you mean. The path in the log is correct. There is a mapping of the host path to the wasm environment (in your case `/var/mnt/db -> /`....

Hey @Vladlan as @pmp-p said, this should be solved in versions > 0.3.5 Will close this now, but please let us know if you still encounter any issues.

You need to do `pnpm build:all`. It's in the README. On Thu, Oct 30, 2025, 11:23 Jacob Bowdoin ***@***.***> wrote: > *jacob-8* left a comment (electric-sql/pglite#832) > > > FYI,...

> Why is the image empty? What would be an acceptable anonymized image?

Thank you for this @vitonsky Could you please paste the code that you are using? A full example would help us get up to speed much quicker.