Commit Graph

511 Commits

Author SHA1 Message Date
1bbe666003
fix: AAAAA 2023-07-28 17:09:51 -05:00
4bb7b4997f
fix: derives 2023-07-26 21:54:56 -05:00
039be77d99
fix: add notifications to generic client 2023-07-23 21:26:45 -05:00
Orion Kindel
6c6a266c14
fix: dx changes 2023-07-06 22:29:28 -05:00
Zeb Piasecki
edc7fdecfb gate wasm support behind feature flag 2023-06-07 20:53:16 -04:00
Zeb Piasecki
64bf779f7c feat: add support for wasm
Adds support for compiling to WASM environments that provide JS via
wasm-bindgen. Because there's no standardized socket API the caller must
provide a connection that implements AsyncRead/AsyncWrite to
connect_raw.
2023-06-03 17:08:59 -04:00
dependabot[bot]
40954901a4
Update criterion requirement from 0.4 to 0.5
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 14:01:30 +00:00
Steven Fackler
d92b3b0a63
Fix int2vector serialization 2023-05-01 19:45:54 -04:00
Steven Fackler
e71335ee43
fix serialization of oidvector 2023-05-01 19:33:49 -04:00
Niklas Hallqvist
e59a165241
rustfmt 2023-04-04 15:43:39 +02:00
Niklas Hallqvist
45d51d708c
OpenBSD misses some TCP keepalive options 2023-04-04 14:27:45 +02:00
Steven Fackler
b19fdd4b7e
Fix postgres-protocol constraint
Closes #1012
2023-03-30 19:30:40 -04:00
Steven Fackler
117e387a3e
Release tokio-postgres v0.7.8 2023-03-27 19:14:49 -04:00
Steven Fackler
a205d23141
Update Cargo.toml 2023-03-27 18:04:52 -04:00
dependabot[bot]
58f06610cc
Update socket2 requirement from 0.4 to 0.5
Updates the requirements on [socket2](https://github.com/rust-lang/socket2) to permit the latest version.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/compare/v0.4.0...v0.5.1)

---
updated-dependencies:
- dependency-name: socket2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 21:08:40 +00:00
Paul Hemberger
62a443222c use correct error type 2023-03-27 16:47:58 -04:00
Paul Hemberger
a9967c05ff docs: mention sys default if 0 2023-03-27 16:47:48 -04:00
Paul Hemberger
ee5a139028 add in to param parsing; update doc 2023-03-24 13:11:18 -04:00
Paul Hemberger
b4c05f4f81 wire through knob for TCP user timeout 2023-03-24 11:46:20 -04:00
Benjamin Swart
7c7c80dcaa Make incorrect number of paramaters an error 2023-02-25 18:24:35 +01:00
Alex Chi
b1842390c3 update comments
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2023-01-16 22:54:20 -05:00
Alex Chi
205af89aaf feat: add rows_affected to RowStream
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2023-01-15 21:16:56 -05:00
Steven Fackler
383fd50f75
Update tokio-postgres/src/generic_client.rs 2023-01-08 08:32:00 -05:00
Ari Breitkreuz
e38e435665 add batch_execute to generic client 2023-01-08 12:21:42 +01:00
Steven Fackler
0c056148d0
Clarify poll_message docs
Closes #975
2023-01-01 20:33:06 -05:00
xxchan
be90d0e848 derive Debug for SimpleQueryMessage 2022-12-07 12:29:28 +01:00
dependabot[bot]
eaa1c62793
Update env_logger requirement from 0.9 to 0.10
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 13:05:23 +00:00
Joseph Koshakow
0c86f9362f Add multirange kind and run cargo fmt 2022-11-21 18:40:37 -05:00
Joseph Koshakow
f413e66b14 Add support for multiranges 2022-11-21 18:40:37 -05:00
Joseph Koshakow
b29164d53a Add idle session timeout error
This commit adds the idle session timeout error (57P05). See
https://www.postgresql.org/docs/current/errcodes-appendix.html
2022-11-21 18:40:37 -05:00
Steven Fackler
f48c3b577f
more deprecations 2022-11-21 15:26:37 -08:00
dependabot[bot]
e5f7f8e291
Update criterion requirement from 0.3 to 0.4
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 13:19:27 +00:00
Hirotaka Azuma
d7ccbb3d42 Review fix: Avoid redundant function calls. 2022-08-27 14:19:01 +00:00
Hirotaka Azuma
5551b3e6cd Revert "Review fix: get_connect_timeout returns copied Option."
This reverts commit 4882ecc2de.
2022-08-27 14:18:27 +00:00
Hirotaka Azuma
4882ecc2de Review fix: get_connect_timeout returns copied Option. 2022-08-27 13:58:31 +00:00
Hirotaka Azuma
0fcd0c26a5 Review fix: get_keepalives_{interval,retries} returns copied Option. 2022-08-27 13:56:17 +00:00
Hirotaka Azuma
a97e17b51e Fix CI error: Prevent "unused imports" in --no-default-features. 2022-08-27 13:46:22 +00:00
Hirotaka Azuma
b5a53960b1 Review fix: Define features regardless of platform and do nothing if not supported. 2022-08-26 19:27:06 +00:00
Hirotaka Azuma
a78ce35d44 Support keepalive interval and retries. 2022-08-26 08:45:04 +00:00
Steven Fackler
8e4484c005
Release tokio-postgres v0.7.7 2022-08-21 15:34:36 -04:00
Steven Fackler
34efb053ec
rustfmt 2022-08-20 15:19:17 -04:00
Steven Fackler
d6a6e9db83
Fix smol_str feature 2022-08-20 15:18:19 -04:00
Alex Pearson
8158eed052 Move parameter count assertion above format encoding derivation 2022-08-16 08:13:26 -04:00
Alex Pearson
569689deaa encode format with types 2022-08-16 08:13:26 -04:00
Basti Ortiz
5f3e7aecad
Fix: address Clippy warnings 2022-08-15 00:37:47 +08:00
Basti Ortiz
a0f028a008
Fix(tokio-postgres): declare dependency on net feature 2022-08-15 00:37:46 +08:00
Basti Ortiz
65c1d146a6
Chore(tokio-postgres): prefer sub-crates of futures 2022-08-14 23:31:17 +08:00
Steven Fackler
a624282bed
rustfmt 2022-08-04 13:07:13 -04:00
Steven Fackler
d7b10f2cea
cleanup 2022-07-18 20:18:18 -04:00
Steven Fackler
09e86560dd
Merge pull request #836 from subzerocloud/master
Implement Unknown encoding for query parameters
2022-07-18 20:16:40 -04:00