Contributions are welcome. If you see a bug, feel free to submit a PR with a fix or an issue to discuss. For any features, please open an issue to discuss first.
- cargo-nextest
- cargo-watch
- Run cargo build in the project directory.
- Install Postgres (all Pg versions supported).
- Some tests used prepared transactions. Enable them with
ALTER SYSTEM SET max_prepared_transactions TO 1000and restart Postgres. - Run the setup script
bash integration/setup.sh. - Launch pgdog configured for integration:
bash integration/dev-server.sh. - Run the tests
cargo nextest run --test-threads=1. If a test fails, try running it directly.
- Please format your code with
cargo fmt. - If you're feeeling generous,
cargo clippyas well. - Please write and include tests. This is production software used in one of the most important areas of the stack.