Steven Fackler
8bb5712406
Implement ToStatement for String
...
Closes #794
2021-10-28 19:41:32 -04:00
Steven Fackler
da6e2b1164
Merge pull request #835 from ilslv/master
...
Fix transaction not being rolled back on `Client::transaction()` `Future` dropped before completion
2021-10-28 19:30:25 -04:00
Steven Fackler
33703689e0
Clean up licenses
2021-10-28 19:22:13 -04:00
ilslv
f6189a95f2
Fix transaction not being rolled back on Client::transaction()
Future
dropped before completion
2021-10-28 12:10:30 +03:00
Steven Fackler
0adcf58555
Release tokio-postgres v0.7.4
2021-10-19 19:58:49 -04:00
Steven Fackler
b2df11579f
Fix commit-time error reporting
...
Closes #832
2021-10-19 19:36:14 -04:00
Steven Fackler
d45461614a
Release postgres v0.19.2
2021-09-29 19:38:29 -04:00
Steven Fackler
8542d078bf
Release tokio-postgres v0.7.2
2021-09-29 19:34:32 -04:00
Laurențiu Nicola
be0d71fad5
Add support for time 0.3
2021-09-24 08:26:37 +03:00
Steven Fackler
3e4be86531
more clippy
2021-08-10 21:17:50 -04:00
Steven Fackler
be0c85ac0b
Update phf
2021-08-10 20:30:27 -04:00
dependabot[bot]
24928ebce3
Update env_logger requirement from 0.8 to 0.9
...
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger ) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 13:10:25 +00: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
Steven Fackler
57cacb65fe
Upgrade phf
2021-06-21 21:30:41 -04:00
Tim Anderson
a8383dcc29
Add support for eui48 version 1.0
2021-06-03 10:54:37 +10:00
Marcin Pajkowski
b03ffcd043
expose SimpleQueryRow's column names
2021-05-29 23:44:17 +02:00
Erik Johnston
844a1bd145
Revert change back to always setting the cached statement
2021-05-15 10:25:14 +01:00
Erik Johnston
b7215c60d9
Split State into two.
...
There is no reason for the buffer and typeinfo caches to share the same
lock. By splitting them it means we a) get slightly better performance,
but more importantly b) it makes it harder to accidentally deadlock.
2021-05-14 15:20:36 +01:00
Erik Johnston
a84a45d88e
Fix deadlock when pipelining statements.
...
When executing statements in parallel there is a race where we prepare
the type info queries multiple times, and so insert into the type info
caches multiple times. This resulted in any existing cached `Statement`
to be dropped, running its destructor which attempts to take out the
state lock that is already being held, resulting in a deadlock.
Fixes #772 .
2021-05-14 14:59:07 +01:00
Steven Fackler
36916bec38
Release v0.7.2
2021-04-25 10:52:25 -04:00
Steven Fackler
91ce9cdeec
fix clippy
2021-04-24 10:34:51 -04:00
Steven Fackler
05a0643cc0
Fix matching on SqlState
...
Closes #756
2021-04-24 10:19:23 -04:00
Steven Fackler
c7a8adf2df
remove unneeded ref
2021-04-05 19:07:27 -04:00
Steven Fackler
50fa995cf9
Reorder a bit
2021-04-05 19:04:34 -04:00
Steven Fackler
a8ac31aa0f
Merge pull request #724 from vemoo/transaction-client-method
...
add `client` method to `GenericClient`
2021-04-05 19:02:37 -04:00
Steven Fackler
57164c7e59
Release tokio-postgres v0.7.1
2021-04-03 17:12:50 -04:00
Steven Fackler
844a27a074
Add clear_type_cache to blocking client
2021-04-03 16:55:59 -04:00
Dmitriy Pleshevskiy
558c169b89
feat: add method to clear types cache
...
Closes #753
2021-04-01 23:39:50 +03:00
Steven Fackler
fc10985f9f
rustfmt
2021-03-28 20:31:59 -04:00
Steven Fackler
af7825308d
fix clippy
2021-03-28 20:28:18 -04:00
hansolshin
71cb6eef68
Add is_closed method to Error
2021-03-28 23:00:49 +09:00
Steven Fackler
49db9cd33c
upgrade socket2
2021-03-18 20:39:43 -04:00
Steven Fackler
ad2c8cf592
clippy
2021-03-16 20:44:50 -04: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
cc6a0ada01
Add back Error::as_db_error
...
Closes #732
2021-01-16 14:19:14 -05:00
Lachezar Lechev
41375ebd3c
Update tokio version in feature docs
2021-01-13 11:53:29 +02:00
Jeff Davis
f3cbc8ce04
PgLsn type.
2021-01-09 15:18:26 -08:00
Bernardo Uriarte Blanco
e2d327399b
add client
method to GenericClient
2020-12-26 23:17:04 +01:00
Steven Fackler
fbc42ecbe8
Stop setting timezone to UTC
...
Closes #147
2020-12-26 15:51:22 -05:00
Steven Fackler
316c6dc3dc
Update codegen sources to 13.1
2020-12-26 14:09:58 -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
Steven Fackler
06dcebf248
Release postgres-protocol v0.6.0
2020-12-25 08:51:47 -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
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
Kirill Fomichev
5099799166
return used features
2020-12-01 19:03:02 +03:00