Commit Graph

2700 Commits

Author SHA1 Message Date
Steven Fackler
cf9747e3e5
Add tcp_user_timeout to postgres 2023-03-27 19:20:24 -04:00
Steven Fackler
117e387a3e
Release tokio-postgres v0.7.8 2023-03-27 19:14:49 -04:00
Steven Fackler
54390eb3fe
Release postgres-derive v0.4.4 2023-03-27 19:04:38 -04:00
Steven Fackler
a46796798a
Release postgres-protocol v0.6.5 2023-03-27 19:02:39 -04:00
Steven Fackler
5be97d9559
Release postgres-types v0.2.5 2023-03-27 18:59:29 -04:00
Steven Fackler
39fa1ad39e
Merge pull request #1003 from sfackler/dependabot/cargo/socket2-0.5
Update socket2 requirement from 0.4 to 0.5
2023-03-27 18:26:30 -04:00
Steven Fackler
9c0d2dddc4
Update ci.yml 2023-03-27 18:14:05 -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
Steven Fackler
c85b2c1dbb
Merge pull request #1007 from pH14/add-tcp-user-timeout
wire through knob for TCP user timeout
2023-03-27 16:56:04 -04: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
Steven Fackler
70616712a4
Merge pull request #1005 from sfackler/dependabot/cargo/syn-2.0
Update syn requirement from 1.0 to 2.0
2023-03-20 20:09:14 -04:00
Steven Fackler
e9b5a04a4f
Fix build 2023-03-20 20:01:56 -04:00
dependabot[bot]
1e1f90786d
Update syn requirement from 1.0 to 2.0
Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.0...2.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:06:03 +00:00
Steven Fackler
7cd7b187a5
Rename accessor 2023-02-26 16:44:25 -05:00
Steven Fackler
3007dd82c6
Merge pull request #1000 from fakeshadow/protocol/export_bytes
export Bytes type through DataRowBody::storage_bytes method.
2023-02-26 16:43:47 -05:00
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