Commit Graph

344 Commits

Author SHA1 Message Date
Steven Fackler
9ce4df68f4 Support BOOL[] 2013-12-07 15:39:44 -08:00
Steven Fackler
302d782ae9 Use read_until in read_string 2013-12-06 21:32:44 -08:00
Steven Fackler
3b93302113 Change cancel_query to return a Result 2013-12-05 23:20:50 -08:00
Steven Fackler
20904ab4e2 Style cleanup 2013-12-05 23:09:03 -08:00
Steven Fackler
1e22911249 Support FLOAT8[] 2013-12-05 21:58:22 -08:00
Steven Fackler
a0ab249e19 Support FLOAT4[] 2013-12-05 21:51:09 -08:00
Steven Fackler
9a6116f56a Implement flush for InternalStream 2013-12-04 22:52:45 -08:00
Steven Fackler
a2667fd1d2 Minor test cleanup 2013-12-04 22:24:49 -08:00
Steven Fackler
6627724ba8 Update spawn syntax 2013-12-04 21:57:49 -08:00
Steven Fackler
76b03e5967 Unblockify transaction example. 2013-12-04 21:32:13 -08:00
Steven Fackler
8928c4bdcc Create hstore extension for travis 2013-12-04 21:23:56 -08:00
Steven Fackler
6e9e9ebe3e Support hstore 2013-12-04 21:20:48 -08:00
Steven Fackler
deeba1bace Fix for str API changes 2013-12-04 20:05:53 -08:00
Steven Fackler
aab49e8089 Setup for unknown types! 2013-12-04 00:18:28 -08:00
Steven Fackler
70b4910e9b Add a bit to quick_query 2013-12-03 23:48:46 -08:00
Steven Fackler
a0df39b2c9 Support INT8[] 2013-12-03 22:32:54 -08:00
Steven Fackler
f6a933b9e8 Rename get_dimension_info to dimension_info 2013-12-03 00:00:28 -08:00
Steven Fackler
d988fc2482 Remove useless assignment 2013-12-02 23:04:44 -08:00
Steven Fackler
64b119359d Remove useless reverse indirection 2013-12-02 23:03:05 -08:00
Steven Fackler
b9d5c07bc4 Document types::array 2013-12-02 21:02:10 -08:00
Steven Fackler
c7d58e73c4 Make rows 1-indexed 2013-12-02 19:53:40 -08:00
Steven Fackler
a1da38b50e Prevent over-slicing 2013-12-01 21:53:34 -08:00
Steven Fackler
4ab1cd3dbf Another test and minor cleanup 2013-12-01 21:41:42 -08:00
Steven Fackler
9a4b51e157 Add INT4[] support 2013-12-01 21:09:31 -08:00
Steven Fackler
369657cf00 Minor cleanup in tests 2013-12-01 14:30:28 -08:00
Steven Fackler
8e83a9749d Switch to new destructure wildcard format 2013-11-29 13:30:03 -05:00
Steven Fackler
99d570f17b Fixes for Rust updates
No more hacky macro module!
2013-11-26 18:27:34 -08:00
Steven Fackler
48dfb4dd8d Fix spawn calls for API changes 2013-11-25 20:50:09 -08:00
Steven Fackler
11598cc404 Rename lifetimes from 'self 2013-11-24 14:42:44 -08:00
Steven Fackler
c543963af4 Move from Cell to RefCell 2013-11-24 13:12:46 -08:00
Steven Fackler
a86d33c96b Switch docs to sfackler.com
octayn doesn't support rustpkg yet
2013-11-15 19:55:09 -08:00
Steven Fackler
139dc29467 Update for IO moves 2013-11-12 21:33:52 -08:00
Steven Fackler
53882e229f Minor cleanup 2013-11-11 23:29:53 -08:00
Steven Fackler
d003a85d9c Restructure SslMode
It will now work properly with the connection pool.
2013-11-10 18:13:32 -08:00
Steven Fackler
e2b6ad6be1 One more doc update 2013-11-10 18:01:59 -08:00
Steven Fackler
1ce4bd6cf5 Update example with SSL argument 2013-11-10 17:59:25 -08:00
Steven Fackler
5f678825d1 Move errors to error package 2013-11-10 17:41:15 -08:00
Steven Fackler
a115c45416 Fix PreferSsl
It'd be nice to have more robust testing for the SSL logic, but it seems
to be working.
Closes #15
2013-11-09 22:30:20 -08:00
Steven Fackler
45220459b1 Add a very simple SSL test
cc #15
2013-11-09 21:55:29 -08:00
Steven Fackler
4538f7f5b4 Switch struct lifetime back to self
Doesn't really matter, but may as well be consistent
2013-11-09 21:30:19 -08:00
Steven Fackler
b57b1a4eac Untested SSL support
cc #15
2013-11-09 21:03:32 -08:00
Steven Fackler
4a3ee11ac7 Infrastructure for ssl support 2013-11-09 19:01:06 -08:00
Steven Fackler
8ce889b477 Fix spelling mistake 2013-11-08 22:17:43 -08:00
Steven Fackler
2c4d4e97ea Remove find_col_named
It's a very simple utility function that won't be used enough to keep it
on a trait like PostgresStatement.
2013-11-08 22:15:35 -08:00
Steven Fackler
d9a8e261f7 Revert "Remove superfluous impls"
Turns out ~T won't actually autoborrow to &T when casting to a trait
object. See mozilla/rust#10347

This reverts commit c2a755dd95.
2013-11-07 22:15:20 -08:00
Steven Fackler
8e41ccd177 Fix build error
Add a build of the library to travis to prevent regressions.
2013-11-07 21:57:59 -08:00
Steven Fackler
7a19eaf6d3 Ignore instead of not compiling tests 2013-11-06 08:56:09 -08:00
Steven Fackler
ccb552f571 Add travis cfg to disable some tests 2013-11-05 22:07:48 -08:00
Steven Fackler
8856aed96b Add back md5 support
Rust-crypto doesn't seem to have good rustpkg support so I've pulled the
old MD5 implementation from libextra in for now.
2013-11-05 22:04:12 -08:00
Steven Fackler
2178eceeee Even more README cleanup 2013-11-05 21:35:07 -08:00