pgtemp icon indicating copy to clipboard operation
pgtemp copied to clipboard

Rust library and daemon for easily starting postgres databases per-test without Docker

Results 6 pgtemp issues
Sort by recently updated
recently updated
newest added

I can't repro this locally, so I don't know what the source of the issue is. The temporary DB, created with `PgTempDB::async_new().await` (so `persist` isn't set), hangs for minutes after...

When I try to use this in Github Actions I get these errors: ``` initdb failed! stdout: stderr: sudo: initdb: command not found ), location: Location { file: "/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pgtemp-0.3.0/src/run_db.rs", line:...

Hi, thanks for writing this, I was thinking of such a thing months ago and it's always nice to see someone else wrote what I wanted :D. The only problem...

This PR aims to make the arguments for initdb command configurable.

* Before any errors would silently be ignored. * And the DB would be partially initialized. * This created very hard to debug states.

[previous PR](https://github.com/boustrophedon/pgtemp/pull/22) I have implemented Windows support by making the following changes: - Listen for CTRL_C signal in daemon listener. - Use `pg_ctl` to start and stop the PostgreSQL server...