Steven Fackler
8bc646272f
Merge pull request #33 from radford/get-connection-race
...
cond.signal() those in lock().cond.wait()
2014-04-05 13:39:15 -04:00
Steven Fackler
e81192a06e
Bump rust-phf version
2014-04-04 23:43:07 -07:00
Jim Radford
5467983d08
cond.signal() those in lock().cond.wait()
2014-04-04 16:57:19 -07:00
Steven Fackler
40d5125f2c
Re-pub some fields
2014-04-02 22:56:16 -07:00
Steven Fackler
15f79973a4
Make a PostgresResult typedef
2014-04-02 21:26:41 -07:00
Steven Fackler
ec6fd52301
Fix error message
2014-04-02 09:19:38 -07:00
Steven Fackler
3181d39be8
Use more idiomatic names for row iterators
2014-04-02 00:16:21 -07:00
Steven Fackler
b2c7e08627
Fix up timespec ToSql impl
2014-04-01 19:50:26 -07:00
Steven Fackler
3e5a48dfb6
Update for privacy overhaul
...
The ToSql impl for Timespec is broken as some fields became accidentally
private
2014-04-01 00:32:10 -07:00
Steven Fackler
16db8d194b
Merge pull request #30 from radford/row-index-show
...
Show the index when a column has the wrong type
2014-04-01 01:24:02 -04:00
Jim Radford
28fd9e8bdb
Better errors when a column has the wrong type
2014-03-31 21:35:09 -07:00
Steven Fackler
a9ec7256a7
More cleanup
2014-03-30 19:21:51 -07:00
Steven Fackler
5157a00587
Miscellaneous cleanup
2014-03-30 16:19:04 -07:00
Steven Fackler
99e759b5a9
Custom Show impls for errors
2014-03-29 20:04:37 -07:00
Steven Fackler
b930bc36f9
Remove yet more failure
2014-03-29 19:01:23 -07:00
Steven Fackler
9ff7b3d00a
Remove mandatory failure from row lookup
2014-03-29 17:01:41 -07:00
Steven Fackler
4adf743aeb
Update for upstream changes
2014-03-29 14:33:11 -07:00
Steven Fackler
61f9f43cf3
Stop failing on wrong types
2014-03-27 22:43:10 -07:00
Steven Fackler
76ff679f9a
Don't fail on wrong param count
2014-03-27 21:39:03 -07:00
Steven Fackler
0916a53df3
Make lazy_query result return a Result
2014-03-27 21:20:04 -07:00
Steven Fackler
78c96f23a4
Remove failing wrappers
...
Embrace the error propogation!
2014-03-27 21:08:22 -07:00
Steven Fackler
793e5e9bbf
Bump rust-phf and fix makefile
...
config.stamp isn't a thing anymore
2014-03-27 19:46:25 -07:00
Steven Fackler
2d59e5911a
Fix PostgresLazyResult docs
2014-03-25 21:50:59 -07:00
Steven Fackler
587cbff836
Restructure lazy query API
...
It doesn't make any sense to limit lazy queries to statments *prepared*
inside a transaction. We really only care that we're in a transaction
when the statement is executed. This does introduce a new runtime error
if a statement prepared on connection A is executed on a transaction
prepared on connection B, but I don't think anyone will *ever* run into
that.
2014-03-25 21:07:42 -07:00
Steven Fackler
98c92c1dca
Update for sync changes
...
There's some scary transmuting here since PostgresConnection isn't Share
:(
2014-03-24 21:36:14 -07:00
Steven Fackler
a773f19c20
Some cleanup
2014-03-23 17:34:50 -07:00
Steven Fackler
613ceec630
Updates for upstream changes
2014-03-22 21:20:22 -07:00
Steven Fackler
ec82c45cc9
Updates for API changes
2014-03-20 19:14:20 -07:00
Steven Fackler
537203d3cb
Bump rust-phf version
2014-03-19 20:22:17 -07:00
Steven Fackler
0aec726b69
De-~[] array
2014-03-18 23:07:12 -07:00
Steven Fackler
2a822eb8c0
Use autoderef stuff for RefCell
2014-03-18 21:00:06 -07:00
Steven Fackler
01e77a06f2
Link in logging crate
2014-03-17 21:05:04 -07:00
Steven Fackler
15eb3891c5
Down with libextra!
2014-03-15 21:35:44 -07:00
Steven Fackler
b8874f25a8
Bump submodule versions
2014-03-15 21:33:44 -07:00
Steven Fackler
c5abe8c0d7
Add ToSql impls for Vec
2014-03-14 23:01:46 -07:00
Steven Fackler
5b646c0ca1
Some ~[] -> Vec work
2014-03-14 22:33:24 -07:00
Steven Fackler
850982c0b0
Fix for upstream changes
2014-03-14 20:19:57 -07:00
Steven Fackler
9af890e7a1
Stop using private variants
2014-03-14 13:26:19 -07:00
Steven Fackler
7111d8a28b
Fix for API update
2014-03-14 08:58:01 -07:00
Steven Fackler
c633b0820b
Add makefile target for main tests
2014-03-13 00:30:43 -07:00
Steven Fackler
b0751ae424
Add Range.union
2014-03-13 00:26:51 -07:00
Steven Fackler
dc65edf2d3
More ~str pattern removal
2014-03-12 23:50:10 -07:00
Steven Fackler
1a51593306
Remove ~str pattern
2014-03-12 23:34:57 -07:00
Steven Fackler
731ab310ba
Bump rust-phf version
2014-03-12 00:23:52 -07:00
Steven Fackler
527d7376be
Remove #[inline] from a generic impl
2014-03-10 10:10:27 -07:00
Steven Fackler
3cf70fa533
Use no_run for doc tests
2014-03-10 10:06:40 -07:00
Steven Fackler
8034413247
De-globbing
2014-03-09 22:01:51 -07:00
Steven Fackler
ed9faea892
Bump submodule versions
2014-03-09 17:03:56 -07:00
Steven Fackler
539fe2d677
Correct error handling example
2014-03-09 15:25:38 -07:00
Steven Fackler
58571cab26
Add examples!
2014-03-09 15:22:20 -07:00