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
Steven Fackler
e6dd655a2a
Upgrade phf
2022-07-18 20:04:00 -04:00
Lachezar Lechev
a410a5fe04
Add array-impls
feature in docs table
2022-06-21 13:31:31 +02:00
Steven Fackler
17af0d5b68
Release tokio-postgres v0.7.6
2022-04-30 08:53:14 -04:00
Mateusz Mikuła
1d9c93d2ae
Add conversions from Uuid 1.0
2022-04-20 21:57:59 +02:00
Dmitry Ivanov
cf381ce6a2
Hide tokio_postgres::client::SocketConfig
behind "runtime" feature
...
This fixes warnings reported by rust 1.60 when doing the following:
```shell
$ cargo test --manifest-path tokio-postgres/Cargo.toml --no-default-features
```
2022-04-16 18:06:01 +03:00
Matt Oliver
6fae6552ec
Fix tests, replace match with matches!
2022-03-16 21:23:15 -05:00
Matt Oliver
d9d283e131
Split out ltree,query,txtquery protocol parsers, add tests, rust fmt
2022-03-16 21:23:15 -05:00
Matt Oliver
944b72974f
Add ltree, lquery and ltxtquery support
2022-03-16 21:23:15 -05:00
dependabot[bot]
7fd748ba96
Update tokio-util requirement from 0.6 to 0.7
...
Updates the requirements on [tokio-util](https://github.com/tokio-rs/tokio ) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio-util
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 13:47:41 +00:00
dependabot[bot]
842e5cfdcb
Update parking_lot requirement from 0.11 to 0.12
...
Updates the requirements on [parking_lot](https://github.com/Amanieu/parking_lot ) to permit the latest version.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.0...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 13:15:32 +00:00
Steven Fackler
76cd380e5a
clippy
2021-12-08 18:35:18 -05:00
Ruslan Talpa
683868850e
remove "Unknown" and add Format enum
2021-11-19 09:22:36 +02:00
Ruslan Talpa
6c407d39d5
implement Unknown encoding for query parameters
2021-11-01 12:31:59 +02:00