Steven Fackler
e7e9eebaa6
Releave v0.2.1
2014-12-15 12:40:40 -08:00
Steven Fackler
cdfcef8e05
Update for upstream changes
2014-12-15 12:39:49 -08:00
Steven Fackler
a35af16926
Schema qualify pg_type table reference
...
Just in case someone tosses their own pg_type table in the main schema
2014-12-14 17:18:55 -08:00
Steven Fackler
02fdb06762
Support citext and oid types
...
This ended up involving some pretty major refactors and fixed a bug
where passing extension types as parameters to `execute` broke.
Closes #56
2014-12-14 16:46:22 -08:00
Steven Fackler
0562063596
Generically derive RawFromSql for Range<T>
2014-12-14 15:07:48 -08:00
Steven Fackler
774de292f7
Reference nightly releases instead of master
2014-12-14 12:57:52 -08:00
Steven Fackler
3ba0e4f4d3
Update crates.io reference in README
2014-12-14 12:43:53 -08:00
Steven Fackler
d349715061
Support CIDR as well
2014-12-14 12:27:02 -08:00
Steven Fackler
00d0f9e701
Add a bounds check in IpAddr RawFromSql impl
2014-12-14 11:50:14 -08:00
Steven Fackler
afc4b09557
Remove allocation in FromSql for IpAddr
2014-12-14 11:43:48 -08:00
Steven Fackler
3ac26d4961
Add inet support
...
It's lossy ATM, since IpAddr doesn't store the netmask.
Closes #88
2014-12-14 11:39:26 -08:00
Steven Fackler
db198a5b77
Depend on out of tree liblog
2014-12-13 15:16:03 -08:00
Steven Fackler
82e9d62c0d
Release v0.2.0
2014-12-12 18:36:39 -08:00
Steven Fackler
39ad5ff651
Fix for opt in Copy
2014-12-11 20:36:24 -08:00
Steven Fackler
05c41854f4
Remove an unnecessary clone
2014-12-09 23:04:29 -08:00
Steven Fackler
e8ff196c8e
Cleanup
2014-12-09 21:35:52 -08:00
Steven Fackler
42eb9fb01e
Move Send bound for NoticeHandler to trait def
...
This is a breaking change
2014-12-08 23:43:01 -08:00
Steven Fackler
fe7b9f5435
Update readme to use crates.io packages instead of git
2014-12-07 12:56:41 -08:00
Steven Fackler
cdbbadd3cf
Clean up some equality checks
2014-12-06 13:30:37 -08:00
Steven Fackler
39a89de5f0
Fix off by one in index impl
2014-12-06 10:41:49 -08:00
Steven Fackler
21f666774f
Couple more []s
2014-12-06 10:10:44 -08:00
Steven Fackler
131fa11b5a
Remove remaining [] usage
2014-12-06 10:08:28 -08:00
Steven Fackler
a55c50a22b
Release 0.1.3
2014-12-06 08:57:43 -08:00
Steven Fackler
5ca7d8ec2c
Bump phf dependency
2014-12-06 08:56:48 -08:00
Steven Fackler
05af4073c4
Remove unneeded feature
2014-12-06 08:52:18 -08:00
Steven Fackler
587aa653a3
Fix for equality changes
2014-12-05 07:58:11 -08:00
Steven Fackler
ac59c84c82
Add next_block_for example
2014-12-03 19:55:05 -08:00
Steven Fackler
5065dbfa4d
Use monotonic time for timeout logic
2014-12-03 18:57:04 -08:00
Steven Fackler
cb8380e294
Cut out some allocation in read_message
2014-12-02 23:02:20 -08:00
Steven Fackler
d7c63393db
Cleanup
2014-12-02 22:56:56 -08:00
Steven Fackler
705f9f9d79
Remove a bunch of slice sugar usage
2014-12-02 21:44:34 -08:00
Steven Fackler
cfe37fa9bf
Clean up race condition fix
2014-12-02 20:57:32 -08:00
Steven Fackler
9303e4dfdd
Fix race condition in next_block_for
...
If we hit the timeout while not blocked on read, the timeout would
overflow.
2014-12-02 20:47:34 -08:00
Steven Fackler
d5998d8f2a
Add Notifications::next_block_for method
...
The setup is a little hairy, but seems correct.
cc #19
2014-12-02 20:36:31 -08:00
Steven Fackler
75641e121f
Allow statements to be prepared on any object
...
Statements aren't cleaned up at the end of a transaction, so this is
safe.
2014-12-01 22:45:22 -08:00
Steven Fackler
348195b718
Optimize execute
...
Avoiding the statment close by using the unnamed statment improves the
lower bound perf by ~1/3:
test bench_execute ... bench: 425429 ns/iter (+/- 24970)
test bench_naiive_execute ... bench: 607967 ns/iter (+/- 53434)
cc #83
2014-12-01 22:24:31 -08:00
Steven Fackler
80b7fa823c
Clean up copy preparation a bit
2014-12-01 21:28:58 -08:00
Steven Fackler
1908821e57
Clean up bad response logic a bit
2014-11-28 17:35:37 -08:00
Steven Fackler
e7f66f89ac
Use rust-openssl's MaybeSslStream
2014-11-28 15:54:37 -08:00
Steven Fackler
6334f045cb
Be more conservative when closing things
2014-11-28 15:01:01 -08:00
Steven Fackler
d0a5bd7679
Release 0.1.2
...
Just fixes for upstream changes
2014-11-28 12:27:32 -08:00
Steven Fackler
dd9c712ea9
Fix for upstream changes
2014-11-28 12:24:34 -08:00
Steven Fackler
d7cec2c7e5
Bump to 0.1.1
...
A bumped openssl version unbreaks windows builds
2014-11-27 21:39:49 -08:00
Steven Fackler
7b8786c6a2
Upgrade to openssl 0.2
2014-11-27 21:39:16 -08:00
Steven Fackler
f35e3b6e3a
Lock to uuid and time 0.1
2014-11-27 15:37:25 -08:00
Steven Fackler
7ba9db9b6f
Check for statement close errors in execute
2014-11-27 11:16:14 -08:00
Steven Fackler
d674b8a4a0
Lock to phf 0.1
2014-11-27 10:18:31 -08:00
Steven Fackler
81da54e04f
Minor cleanup
2014-11-26 22:35:06 -08:00
Steven Fackler
bb3b649d6a
Fix to url 0.2
2014-11-26 15:06:46 -08:00
Steven Fackler
4d3e102f7e
Add result_descriptions to Rows and Row
...
This can be useful for functions that are just passed a `Rows` or `Row`
and want to introspect a bit into the columns.
2014-11-26 10:50:31 -08:00