electric-sql / pglite

Lightweight WASM Postgres with real-time, reactive bindings.
https://pglite.dev
Apache License 2.0
7.93k stars 151 forks source link

dumpDataDir('none') is still returning a compressed file #225

Open jgoux opened 3 weeks ago

jgoux commented 3 weeks ago

Hello 👋,

When passing the none option to dumpDataDir, it's always returning a compressed file instead of the expected tar.

I'm on @electric-sql/pglite: "0.2.2".

msfstef commented 3 weeks ago

Hey, thank you for reporting!

On what platform/engine are you facing this issue? We have a test covering this and I can't reproduce the issue on Node or Chromium - setting the dumpDataDir argument to none produces an uncompressed tar file as expected.

Can you make sure this is reproducible with a clean install of 0.2.2?

msfstef commented 2 weeks ago

Hey @jgoux - could you confirm if this is still an issue and if so if you have a path to reproduce it?

jgoux commented 2 weeks ago

I'm in holiday, will post a repro when I get back!