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
01a1529624
Make SqlState into an opaque type rather than enum
2017-07-08 20:52:36 -07: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
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
49bbe0373d
Properly HTML escape docs for Type
2016-02-21 13:45:31 -08:00
Steven Fackler
ed789cfad8
Use persistent codegen for SqlState and Type
...
Makes it easier to detect changes and speeds up the build.
2016-02-21 13:30:31 -08:00