Steven Fackler
092453b3b2
Fix docs for indexing
2014-06-29 23:05:26 -07:00
Steven Fackler
8b74cb0ab4
Zero-index ResultRow
...
It seems like this is the decision made by every DB interface *except*
JDBC, and is more consistent with the rest of the language anyway.
Closes #42 .
2014-06-29 22:53:03 -07:00
Steven Fackler
a54fdaf834
Switch docs back to rust-ci (again)
2014-06-29 14:11:38 -07:00
Steven Fackler
a9ec2a21e6
Update for * -> *const changes
2014-06-29 13:42:43 -07:00
Steven Fackler
a2fdd9b6e6
Fix stuff for int fallback removal
2014-06-27 19:36:23 -07:00
Steven Fackler
74e2fb0276
Make PooledPostgresConnection use Deref
2014-06-22 12:56:13 -07:00
Steven Fackler
f35ca8a23e
Fix for unsafe_destructor feature gate
2014-06-21 15:55:12 -07:00
Mike Dilger
7622a1d395
Show trait for SQLSTATEs:
...
Useful for, if nothing else, debugging to determine which
SQLSTATE occurred w/o comparing against a hundred or so possible
states, nor loosely interpreting the message.
2014-06-21 10:13:48 +12:00
Steven Fackler
d1c477b97e
Stop destructuring a trait object reference
...
This broke upstream but we don't even need to do it.
2014-06-18 23:56:57 -07:00
Steven Fackler
492d2370a2
Don't forward fmt config to subformats
...
The configs aren't supposed to apply recursively
2014-06-16 22:05:27 -07:00
Steven Fackler
dc603600d1
Makefile + syntax fixes
2014-06-16 09:20:50 -07:00
Steven Fackler
e1e44a53a4
Update for formatter changes
2014-06-14 11:18:11 -07:00
Steven Fackler
8e34fe3586
Update for upstream changes
2014-06-12 19:35:59 -07:00
Steven Fackler
ed81ceadf2
Update for unused field lint
2014-06-11 21:05:24 -07:00
Steven Fackler
2db1d477d2
Update for plugin changes
2014-06-10 23:27:07 -07:00
Steven Fackler
6537d160f6
Update for collections changes
2014-06-09 20:17:42 -07:00
Steven Fackler
32e6a70e8d
Clean up batch_execute example a bit
2014-06-08 16:12:27 -07:00
Steven Fackler
60e16d3806
Add a batch_execute method
2014-06-08 16:07:15 -07:00
Steven Fackler
5e363204e1
Fix some types to match the postgres implementation
2014-06-07 16:01:50 -07:00
Steven Fackler
cb052398d6
Make lazy_query take a u32
...
That's what the backend accepts so larger values would just overflow.
2014-06-07 00:14:08 -07:00
Steven Fackler
aa457cb5be
to_string -> to_str
2014-06-05 23:32:49 -07:00
Steven Fackler
216f15d33d
Update for collections changes
2014-06-05 20:50:23 -07:00
Steven Fackler
21feed4bd8
Correctly implement {,Total}Ord for types::range
2014-06-03 21:54:47 -07:00
Steven Fackler
01d8352773
De-Total
2014-06-01 19:57:27 -07:00
Steven Fackler
2a0f92a411
Update for cmp changes
2014-05-31 10:11:18 -07:00
Steven Fackler
e6b45ed291
Update for upstream changes
2014-05-28 21:54:02 -07:00
Steven Fackler
adc81a9809
Some random cleanup
2014-05-27 21:07:58 -07:00
Steven Fackler
b926745f50
More StrBuf cleanup
2014-05-26 15:21:15 -07:00
Steven Fackler
fec7286284
use vec![] intead of Vec::new()
2014-05-26 11:41:18 -07:00
Steven Fackler
d2cd820f71
StrBuf -> String
2014-05-25 20:38:40 -07:00
Steven Fackler
584226bd23
Stop using to_strbuf
2014-05-24 20:42:07 -07:00
Steven Fackler
835da92987
Update for string changes
2014-05-23 20:08:14 -07:00
Steven Fackler
660b96d578
Cleanuuuup
2014-05-18 20:57:31 -07:00
Steven Fackler
06db735101
Add tests for transaction checks
2014-05-18 19:46:21 -07:00
Steven Fackler
ec7dd96a30
Disallow use of wrong transactions
...
We don't want to allow statements to outlive the active transaction in
which they were prepared.
2014-05-18 19:34:01 -07:00
Steven Fackler
04ba539ca6
Some cleanup
2014-05-18 11:37:52 -07:00
Steven Fackler
7cbbccf79a
Update for upstream changes
2014-05-17 16:40:08 -07:00
Steven Fackler
0aac8225be
Impl IntoConnectParams for Url
2014-05-16 20:47:03 -07:00
Steven Fackler
b9efef80fd
Swap to better format macro
...
This'll make it easier to not forget to switch back to format! when it
gets updated.
2014-05-16 19:18:42 -07:00
Steven Fackler
3a01ffba83
Upgrade for upstream changes
2014-05-16 18:24:31 -07:00
Steven Fackler
7849a5843d
Death to ~str!
2014-05-15 19:59:01 -07:00
Steven Fackler
dcd47041d0
More ~str -> StrBuf
2014-05-15 19:27:19 -07:00
Steven Fackler
1909bd46b4
Update for upstream StrBuf changes
2014-05-15 19:11:23 -07:00
Steven Fackler
306b9766c6
Update for upstream change
2014-05-14 19:02:38 -07:00
Steven Fackler
7f318f2865
Update for upstream changes
2014-05-13 19:27:26 -07:00
Steven Fackler
d1c412b393
More ~str -> StrBuf
2014-05-12 22:05:37 -07:00
Steven Fackler
dc6bb579c2
Little cleanup
2014-05-11 23:28:54 -07:00
Steven Fackler
a00ad0d54e
Start to move to StrBuf
2014-05-11 21:52:59 -07:00
Steven Fackler
a720f39b08
Update for transmute move
2014-05-11 21:20:14 -07:00
Steven Fackler
d438521684
More Vec-ifying
2014-05-09 21:15:12 -07:00