feat(pgproto): support vdbe_max_steps and vtable_max_rows options
With these changes, a user can specify new default values for vdbe_max_steps vtable_max_rows options in connection string. For example, the following connection string sets both options to 42: postgres://postgres:Passw0rd@localhost:5432?options=vtable_max_rows%3D42,vdbe_max_steps%3D42
Showing
- CHANGELOG.md 8 additions, 0 deletionsCHANGELOG.md
- src/pgproto/backend.rs 56 additions, 7 deletionssrc/pgproto/backend.rs
- src/pgproto/backend/describe.rs 8 additions, 4 deletionssrc/pgproto/backend/describe.rs
- src/pgproto/backend/pgproc.rs 1 addition, 1 deletionsrc/pgproto/backend/pgproc.rs
- src/pgproto/client.rs 3 additions, 1 deletionsrc/pgproto/client.rs
- src/pgproto/client/startup.rs 75 additions, 14 deletionssrc/pgproto/client/startup.rs
- src/pgproto/error.rs 6 additions, 0 deletionssrc/pgproto/error.rs
- test/pgproto/options_test.py 104 additions, 0 deletionstest/pgproto/options_test.py
Loading
Please register or sign in to comment