Commit Graph

2731 Commits

Author SHA1 Message Date
Steven Fackler
4f540693cb
Merge pull request #999 from SvizelPritula/master
Make incorrect number of paramaters an error
2023-02-25 13:13:28 -05:00
Benjamin Swart
7c7c80dcaa Make incorrect number of paramaters an error 2023-02-25 18:24:35 +01:00
Steven Fackler
63c09eb083
fix workflow deprecations 2023-02-25 10:19:35 -05:00
Steven Fackler
842eacefc8
fix ci 2023-02-25 10:10:04 -05:00
fakeshadow
eb086d30a3 export Bytes type through DataRowBody::storage_bytes method. 2023-02-24 09:56:05 +08:00
Steven Fackler
4bae134f50
Merge pull request #985 from risinglightdb/skyzh/raw-stream
feat: add `rows_affected` to RowStream
2023-01-19 21:30:34 -05: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
f4d8d603f1
Merge pull request #982 from palfrey/upgrade-futures-util
[bug] futures-util <0.3.14 doesn't have Stream
2023-01-10 07:36:30 -05:00
Tom Parker-Shemilt
cf77dc06e6 futures-util <0.3.14 doesn't have Stream 2023-01-10 11:47:53 +00:00
Steven Fackler
56fb0d0426
Merge pull request #981 from sfackler/dependabot/cargo/base64-0.21
Update base64 requirement from 0.20 to 0.21
2023-01-09 20:48:54 -05:00
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