You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,18 @@
3
3
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.
4
4
5
5
## Necessary crates - cargo install <name>
6
+
6
7
- cargo-nextest
7
8
- cargo-watch
8
9
9
10
## Dev setup
10
11
11
12
1. Run cargo build in the project directory.
12
-
2. Install Postgres (v17 currently supported).
13
-
3. Run the setup script `bash integration/setup.sh`.
14
-
4. Launch pgdog configured for integration: `bash integration/dev-server.sh`.
15
-
5. Run the tests `cargo nextest run --test-threads=1`. If a test fails, try running it directly.
13
+
2. Install Postgres (all Pg versions supported).
14
+
3. Some tests used prepared transactions. Enable them with `ALTER SYSTEM SET max_prepared_transactions TO 1000` and restart Postgres.
15
+
4. Run the setup script `bash integration/setup.sh`.
16
+
5. Launch pgdog configured for integration: `bash integration/dev-server.sh`.
17
+
6. Run the tests `cargo nextest run --test-threads=1`. If a test fails, try running it directly.
0 commit comments