Commit Graph

306 Commits

Author SHA1 Message Date
0d8a63cdfc
fix: check_notify 2023-07-27 15:18:43 -05:00
620add44de
fix: block -> check 2023-07-23 23:05:31 -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
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
65a68dfa46
Release postgres v0.19.5 2023-03-27 19:27:16 -04:00
Steven Fackler
7d5962ef3f
Add RowIter::rows_affected 2023-03-27 19:24:48 -04:00
Steven Fackler
cf9747e3e5
Add tcp_user_timeout to postgres 2023-03-27 19:20:24 -04:00
Benjamin Swart
7c7c80dcaa Make incorrect number of paramaters an error 2023-02-25 18:24:35 +01:00
Tom Parker-Shemilt
cf77dc06e6 futures-util <0.3.14 doesn't have Stream 2023-01-10 11:47:53 +00: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
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
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
54331183ea
Release postgres v0.19.4 2022-08-21 15:37:10 -04:00
Steven Fackler
d6a6e9db83
Fix smol_str feature 2022-08-20 15:18:19 -04:00
Basti Ortiz
8abc3eaa65
Chore(postgres): prefer sub-crates of futures 2022-08-14 23:49:40 +08:00
Steven Fackler
8785773e8e
Release postgres v0.19.3 2022-04-30 08:56:34 -04:00
Mateusz Mikuła
1d9c93d2ae Add conversions from Uuid 1.0 2022-04-20 21:57:59 +02:00
Steven Fackler
33703689e0 Clean up licenses 2021-10-28 19:22:13 -04:00
Steven Fackler
d45461614a Release postgres v0.19.2 2021-09-29 19:38:29 -04:00
Laurențiu Nicola
be0d71fad5 Add support for time 0.3 2021-09-24 08:26:37 +03:00
Lukas Kalbertodt
6c1542f634
Add FromSql and ToSql impls for arrays (guarded behind feature)
This is feature-gated because those impls require Rust 1.51.
2021-07-13 16:03:35 +02:00
Tim Anderson
a8383dcc29 Add support for eui48 version 1.0 2021-06-03 10:54:37 +10:00
Steven Fackler
2ab49f6c56 Release postgres v0.19.1 2021-04-03 17:14:25 -04:00
Steven Fackler
844a27a074 Add clear_type_cache to blocking client 2021-04-03 16:55:59 -04:00
George London
77cfee0da1 Fix minor docstring typo 2021-02-05 19:49:36 -08:00
Michael Kirk
8b8491f31d retain support for geo-types-0.6 2021-01-25 14:52:02 -06:00
Michael Kirk
37fb39202a Added support for geo-types 0.7 via with-geo-types-0_7 feature 2021-01-25 09:30:30 -06:00
Steven Fackler
de831c3a53 Release postgres v0.19.0 2020-12-25 09:14:39 -05:00
Steven Fackler
4fb6fd906f Release tokio-postgres v0.7.0 2020-12-25 09:09:17 -05:00
Steven Fackler
71fc3e74bd Release postgres-types v0.2.0 2020-12-25 09:02:02 -05:00
Nikhil Benesch
f1729e4636 deps: upgrade to tokio v1.0 ecosystem 2020-12-24 18:38:05 -05:00
Steven Fackler
2ab708c4bc minor cleanup 2020-12-17 20:36:15 -05:00
zach-com
9856c7b87a Replace impl From block 2020-12-17 17:55:22 -05:00
zach-com
ef95f34c34 cargo fmt 2020-12-16 22:17:21 -05:00
zach-com
ee65811272 Avoid unnecessary function call 2020-12-16 15:56:16 -05:00
zach-com
f655c3b74c Address pull request comments 2020-12-16 15:26:06 -05:00
zach-com
07d9fb2ed6 Support connection validation with timeout 2020-12-11 13:47:39 -05:00
Nicolas Guiard
c4b1f5ab5c Fix unix socket location in docs (/var/run/postgresql instead of /var/lib/postgresql) 2020-11-11 11:14:28 +01:00
Bernardo Uriarte Blanco
996f063380 map to convert to &dyn ToSql is not longer necessary 2020-10-27 20:31:15 +01:00
Bernardo Uriarte Blanco
0e494a08a9 change rest of *_raw methods to use BorrowToSql 2020-10-27 18:08:23 +01:00
Steven Fackler
5e065c36cd Release v0.18.1 2020-10-19 20:02:01 -04:00
Steven Fackler
db90323b08 Make postgres::Client Send again
Closes #677
2020-10-19 19:58:41 -04:00
Steven Fackler
cc77ad18d5 Release postgres v0.18.0 2020-10-17 15:16:56 -04:00
Steven Fackler
12e2f03b53 Release tokio-postgres v0.6.0 2020-10-17 15:06:10 -04:00
Steven Fackler
2689070d19 Upgrade to tokio 0.3 2020-10-17 09:49:45 -04:00
Nikhil Benesch
4af6fcd911 Permit configuring the notice callback
Right now the behavior is hardcoded to log any received notices at the
info level. Add a `notice_callback` configuration option that permits
installing an arbitrary callback to handle any received notices.

As discussed in #588.
2020-09-21 20:04:35 -04:00