Commit Graph

2720 Commits

Author SHA1 Message Date
Steven Fackler
10bf27128d
fix build 2023-01-09 20:41:16 -05:00
dependabot[bot]
c5cb28bcaf
Update base64 requirement from 0.20 to 0.21
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.20.0...v0.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 13:06:33 +00:00
Steven Fackler
c3590261bd
Merge pull request #980 from aDogCalledSpot/batch-execute-in-generic-client
tokio_postgres: add batch_execute to GenericClient
2023-01-08 09:07:33 -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
Steven Fackler
8ab8f1a555
Clippy 2022-12-30 08:43:24 -05:00
Steven Fackler
9774c330f1
Merge pull request #973 from penberg/flush
Add flush() to front-end messages
2022-12-30 08:33:07 -05:00
Pekka Enberg
d368475b50 Add flush() to front-end messages
The PostgreSQL wire protocol has a "Flush" message, which can be used by
the clients for long-lived connections. Add a flush() helper for it.
2022-12-30 13:47:41 +02:00
Steven Fackler
97db777078
Merge pull request #969 from sfackler/dependabot/cargo/base64-0.20
Update base64 requirement from 0.13 to 0.20
2022-12-12 09:23:33 -05:00
dependabot[bot]
748167d5f8
Update base64 requirement from 0.13 to 0.20
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 13:07:35 +00:00
Steven Fackler
44202adc18
Merge pull request #967 from xxchan/xxchan/missing-guan
derive Debug for SimpleQueryMessage
2022-12-07 08:02:59 -05:00
xxchan
be90d0e848 derive Debug for SimpleQueryMessage 2022-12-07 12:29:28 +01:00
Steven Fackler
cb82025af6
Merge pull request #965 from sfackler/dependabot/cargo/env_logger-0.10
Update env_logger requirement from 0.9 to 0.10
2022-11-25 07:53:30 -08: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
Steven Fackler
5ebe602b00
Merge pull request #963 from jkosh44/idle-session-timeout
Add idle session timeout error
2022-11-21 19:32:47 -05: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
664345f9ec Update PostgreSQL files to most recent version 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
Steven Fackler
6557bca871
more clippy 2022-11-21 15:25:39 -08:00
Steven Fackler
6c18ac09b9
rustfmt 2022-11-21 15:20:25 -08:00
Steven Fackler
7faeea5acc
Fix clippy/deprecation warnings 2022-11-21 15:19:11 -08:00
Steven Fackler
71668b7f46
Merge pull request #949 from sfackler/dependabot/cargo/criterion-0.4
Update criterion requirement from 0.3 to 0.4
2022-09-12 09:32:08 -04: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
Steven Fackler
dfe3bc0493
Release v0.4.3 2022-09-07 19:01:27 -04:00
Steven Fackler
1e944c4ffc
Merge pull request #931 from matt-duch/derive-generic
Derive Generic FromSql/ToSql
2022-09-06 21:37:37 -04:00
Matt Duch
3827b2e442 derive bounds on generics 2022-09-06 19:26:13 -05:00
Steven Fackler
14e11bda5b
Merge pull request #944 from PG-kura/support-keepalive-interval-and-retries
Support keepalive interval and retries.
2022-08-27 12:10:55 -04: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
Matt Duch
ed05675888 derive generic FromSql/ToSql 2022-08-25 19:56:23 -05:00
Steven Fackler
54331183ea
Release postgres v0.19.4 2022-08-21 15:37:10 -04:00
Steven Fackler
8e4484c005
Release tokio-postgres v0.7.7 2022-08-21 15:34:36 -04:00
Steven Fackler
5b95068ee6
Release postgres-types v0.2.4 2022-08-20 15:28:42 -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
Steven Fackler
91b21873ca
Merge pull request #937 from NAlexPear/encode_format_types
Encode Format based on Type
2022-08-16 09:27:31 -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
Steven Fackler
8f955eb3ac
Merge pull request #935 from Some-Dood/deps/prefer-sub-crates
Deps: prefer sub-crates of `futures`
2022-08-16 07:51:44 -04:00
Basti Ortiz
44eac98271
Fix: run cargo fmt 2022-08-15 00:37:47 +08: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