Steven Fackler
|
42fa212482
|
Rustfmt
|
2016-09-15 21:00:47 -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
|
fbcdd6b547
|
Rustfmt
|
2016-09-12 21:50:21 -07:00 |
|
Steven Fackler
|
44bf1c94f9
|
Pull Oid from postgres_protocol
|
2016-09-11 21:56:22 -07:00 |
|
Steven Fackler
|
f2cf6be6bc
|
Rename all features
You can't add dependencies to implicit features, so move them all just
in case.
|
2016-09-10 10:31:21 -07:00 |
|
Steven Fackler
|
3bb055ad98
|
Alter [T] ToSql implementation to be one-indexed
This corresponds with the behavior of array literals in Postgres itself.
Closes #176
|
2016-09-10 10:30:47 -07:00 |
|
Steven Fackler
|
92be2db0e2
|
Remove deprecated Slice type
|
2016-09-10 10:30:47 -07:00 |
|
Steven Fackler
|
5d615f0491
|
Fix bogus HTML escaping in docs
|
2016-08-05 13:34:53 -07:00 |
|
Steven Fackler
|
282bf50e79
|
Error cleanup
|
2016-07-09 18:41:10 -07:00 |
|
Steven Fackler
|
d209c2ec31
|
Tweak empty array logic a bit
We want to make sure we always consume the entire reader.
|
2016-07-09 10:06:35 -07:00 |
|
Curtis McEnroe
|
5b6cb169bc
|
Return empty Vec for zero-dimensional array
|
2016-07-07 14:58:25 -04:00 |
|
Alex Gulyás
|
09ede70a74
|
Add date and timestamp wrappers that can represent infinity
This patch adds the `types::Date` and `types::Timestamp` enums, which
can represent either a date/timestamp, or positive or negative
infinity.
|
2016-06-26 18:55:33 +02:00 |
|
Steven Fackler
|
d962a9c9fe
|
Add clippy as an optional dep and fix warnings
|
2016-04-05 20:52:34 -07:00 |
|
Steven Fackler
|
bd60ecfc1f
|
Add impls for array types
Turns out the thing I thought was a blocker (the bytea impls) actually
isn't since u8 doesn't implement these traits. Yay for pre-1.0 thinking!
|
2016-03-27 09:42:21 -07:00 |
|
Steven Fackler
|
16bc4b951d
|
Use Read::read_exact
|
2016-03-03 21:19:46 -08:00 |
|
Steven Fackler
|
c185bcf43f
|
Use modules rather than include! for codegenned stuff
|
2016-02-21 13:37:29 -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 |
|
Steven Fackler
|
9948bcda1e
|
Derive Type from pg_type.h and pg_range.h
|
2016-02-21 13:19:40 -08:00 |
|
Steven Fackler
|
4c46f9fa89
|
Adjust Type::Enum to carry the variants
|
2016-02-17 22:22:31 -08:00 |
|
Steven Fackler
|
d5f1bdba4a
|
Composite type support
|
2016-02-15 23:11:01 -08:00 |
|
Steven Fackler
|
47b0c69d35
|
Add enum and pseudo type kinds
|
2016-02-13 21:51:37 -08:00 |
|
Andrew Baumhauer
|
ac13bb5300
|
Add support for MACADDR type using eui48 crate. Create feature eui48.
|
2016-02-14 01:36:16 +00:00 |
|
Steven Fackler
|
32efe3080c
|
Fix doc
|
2016-02-01 23:32:01 +00:00 |
|
Steven Fackler
|
be18d8ad90
|
Rustfmt
|
2016-01-22 21:22:05 -08:00 |
|
Steven Fackler
|
bd67e438c4
|
Add a Domain Kind
This could break downstream code that expects a domain type to
explicitly be a Simple Kind, but I doubt that exists.
cc #153
|
2016-01-22 20:01:39 -08:00 |
|
Steven Fackler
|
54735d9f4f
|
Arcify unknown types
|
2016-01-02 20:07:33 -08:00 |
|
Steven Fackler
|
278a03ac83
|
Rustfmt
|
2016-01-02 16:02:34 -08:00 |
|
Steven Fackler
|
c34fa5ccd8
|
Implement Debug for SessionInfo and Display for Type
|
2015-12-27 13:47:32 -07:00 |
|
Steven Fackler
|
1188eb108a
|
Make Kind "extensible"
|
2015-12-27 13:40:28 -07:00 |
|
Steven Fackler
|
278ee1cfd7
|
Drop WrongType variant
Following the tradition of WasNull
|
2015-12-26 22:05:23 -07:00 |
|
Steven Fackler
|
9db19d4470
|
Remove old serde feature
|
2015-12-06 23:35:28 -08:00 |
|
Steven Fackler
|
afc067fb33
|
Remove deprecated from_sql_nullable
|
2015-12-06 23:35:28 -08:00 |
|
Steven Fackler
|
d77577eaaa
|
Support BIT/VARBIT to BitVec
Closes #148
|
2015-12-06 12:40:12 -08:00 |
|
Steven Fackler
|
4bdbcd8265
|
Impl NegotiateSsl for closures + rustfmt
|
2015-12-05 14:44:40 -08:00 |
|
Steven Fackler
|
67bace6fc0
|
Rustfmt
|
2015-11-15 19:54:01 -08:00 |
|
Steven Fackler
|
25b9614027
|
Make doc comments real comments
|
2015-11-14 11:39:05 -08:00 |
|
Steven Fackler
|
75ad0886b5
|
No need for *full* ufcs since we're passing self
|
2015-11-12 21:18:10 -08:00 |
|
Steven Fackler
|
6e3deb97f9
|
Use full UFCS in to_sql_checked macro
Make sure we don't accidentally call an inherent to_sql method
|
2015-11-12 21:17:06 -08:00 |
|
Steven Fackler
|
d286d0a610
|
Remove old workarounds
|
2015-11-12 20:55:29 -08:00 |
|
Steven Fackler
|
5b889068da
|
Remove some random whitespace
|
2015-11-12 20:52:31 -08:00 |
|
Steven Fackler
|
65b3234626
|
Add back in serde 0.3 support for back compat
This is a bit of a dubious hack since anyone that tries to turn on both
serde and serde_json are screwed.
|
2015-11-07 16:36:18 -08:00 |
|
Steven Fackler
|
d3182d96a6
|
Update serde support
|
2015-11-07 16:32:16 -08:00 |
|
Steven Fackler
|
5d047683f0
|
Redo FromSql
Still use from_sql_nullable internally to preserve back compat, but
implementation should use from_sql_null instead
|
2015-10-24 19:24:00 -07:00 |
|
Steven Fackler
|
8b80eba9ed
|
Add a name accessor to Type
Also fix up some misentered type info and add a test to ensure it's
correct.
|
2015-09-26 22:59:40 -07:00 |
|
Steven Fackler
|
7e397a86c7
|
Doc cleanup
|
2015-09-26 22:59:40 -07:00 |
|
Steven Fackler
|
178744a97e
|
Add a schema accessor on Type
|
2015-09-26 22:59:40 -07:00 |
|
Steven Fackler
|
f551a86c0f
|
Expose containing schema for custom types
|
2015-09-26 22:59:40 -07:00 |
|
Steven Fackler
|
5fe76e2dec
|
Remove unused import
|
2015-09-15 22:22:54 -07:00 |
|
Steven Fackler
|
c21fc2966b
|
Provide more information for copy in readers
|
2015-09-15 22:22:54 -07:00 |
|
Steven Fackler
|
369961a416
|
Doc typo fixes
|
2015-08-10 13:49:33 -04:00 |
|