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
Steven Fackler
e6dd655a2a
Upgrade phf
2022-07-18 20:04:00 -04:00
Steven Fackler
be0c85ac0b
Update phf
2021-08-10 20:30:27 -04:00
Steven Fackler
57cacb65fe
Upgrade phf
2021-06-21 21:30:41 -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
316c6dc3dc
Update codegen sources to 13.1
2020-12-26 14:09:58 -05:00
Steven Fackler
d1f9d6d802
fix clippy
2020-10-15 21:14:13 -04:00
Steven Fackler
c845a3683e
rustfmt
2020-06-10 16:56:22 -07:00
Steven Fackler
3e67dbb773
Fix clippy
2020-06-10 16:54:07 -07:00
Michael P. Jung
edd9a5aa7f
Add Hash implementation to Type
2019-12-03 20:01:43 +01:00
Steven Fackler
a22f63b5bb
Fix sqlstate generation
2019-12-02 17:55:08 -08:00
Steven Fackler
dc9d07e246
Return a custom TlsStream rather than a ChannelBinding up front
2019-10-27 14:25:58 -07:00
mibac138
9a83196e23
Update dependencies
2019-10-19 20:34:11 +02:00
Steven Fackler
c7055dc665
Clippy fixes
2019-10-09 15:20:23 -07:00
Steven Fackler
4b5bcbb602
Split ToSql/FromSql out to a separate crate
...
Prep for a `derive` feature.
2019-10-07 17:14:18 -07:00
Steven Fackler
42f1f9675c
Update codegen to Postgres 12
...
They've removed the old header files so some updates were required
2019-10-07 16:37:25 -07:00
Steven Fackler
d8b5412602
Upgrade errcodes to Postgres 12
2019-10-03 18:25:25 -07:00
Steven Fackler
4a5d30b4c6
Buffer copy_in messages
...
Otherwise there's a ton of overhead passing tons of tiny messages over
channels.
2019-06-22 21:22:03 -07:00
Steven Fackler
9e4f4d3496
More clippy
2019-03-05 18:26:55 -08:00
Steven Fackler
04ce4bb7a1
Run clippy
2018-12-09 21:44:07 -08:00
Steven Fackler
69a016fd85
Rename optional crate imports
2018-12-08 18:07:09 -08:00
Steven Fackler
6ff59acdd2
rustfmt
2018-12-08 17:53:30 -08:00
Steven Fackler
4d16fbb906
Get rid of postgres-shared
2018-12-08 17:39:20 -08:00
Steven Fackler
dbc6bf24e4
Un-lock phf
...
Closes #369
(cherry picked from commit 440a596350d417926faa07a952a638685f1c1e7a)
2018-10-25 22:06:01 -07:00
Steven Fackler
7ced104a4f
Upgrade phf
2018-04-29 15:17:52 -07:00
Steven Fackler
2777703ef3
Make constants associated
2018-04-22 15:01:55 -07:00
Steven Fackler
fcbed9175b
Allow FromSql to borrow from the buffer
...
This allows for in-place deserialization of text and bytea values in
particular.
Row::get_bytes is removed since it previously existed for this use case.
Closes #281
2018-04-22 13:16:34 -07:00
Steven Fackler
863a295aae
Upgrade socket2 and log
2018-01-09 20:32:55 -08:00
Steven Fackler
bec973c776
Make Type an opaque type
2017-07-09 00:02:45 -07:00
Steven Fackler
01a1529624
Make SqlState into an opaque type rather than enum
2017-07-08 20:52:36 -07:00
Steven Fackler
6a86f8dd85
Rustfmt
2017-06-30 17:35:17 -10:00
Steven Fackler
588ecc8a6c
Update codegen to Postgres 10 beta 1
2017-05-18 20:32:21 -07:00
Steven Fackler
4c91a68dcc
try! -> ?
2017-02-14 22:46:19 -08:00
Steven Fackler
17c53c967c
Update PHF
2017-01-20 17:01:55 +00:00
Steven Fackler
d08dc136bc
Move types out to postgres-shared
2016-12-21 08:14:24 -08:00
Steven Fackler
3b8fc56296
Move errors to shared
2016-12-20 16:07:45 -08:00
Steven Fackler
9d53e677ff
Update to protocol 0.2
2016-12-18 16:13:12 -08:00
Steven Fackler
2e5e99f410
Upgrade phf
2016-11-26 22:05:44 -08:00
Steven Fackler
fdb16ca9ca
Update to phf 0.7.19
2016-11-05 21:02:40 -07:00
Steven Fackler
1a281dd8f7
Update codegen codegen version
2016-11-01 09:05:53 -07:00
Steven Fackler
333b62a8c2
Upgrade phf
2016-10-10 22:21:28 -07:00
Steven Fackler
3832c53deb
Fix clippy warnings
2016-09-24 14:35:21 -07:00
Steven Fackler
f5ec24de78
Use type conversions from protocol crate
...
This also changes ToSql and FromSql to explicitly deal in byte buffers.
2016-09-14 23:27:33 -07:00
Steven Fackler
7509d34407
Update codegen to Postgres 9.6 RC1
2016-09-10 11:47:18 -07:00
Steven Fackler
7d07e61e9c
Remove fixmes in Type builder
2016-09-10 10:30:47 -07:00
Steven Fackler
48f2825a92
Little style tweak
2016-06-15 19:07:14 -07:00
Steven Fackler
7d9bd0c054
Upgrade to phf 0.7.15
2016-06-15 18:46:06 -07:00