Commit Graph

154 Commits

Author SHA1 Message Date
Steven Fackler
c253cc8e84 One more literal specifier 2014-10-25 23:49:13 -07:00
Steven Fackler
886f24ea9d Get rid of literal type specifiers
Yay trait reform!
2014-10-25 23:43:59 -07:00
Santiago Lapresta
20d78704c8 Fix connection example in README 2014-10-23 22:04:38 +02:00
Steven Fackler
86bf3b719b Switch some .to_string to .into_string 2014-10-18 11:17:12 -07:00
Steven Fackler
fa34efba8f Change docs to work around coercion issue 2014-08-30 10:57:46 +01:00
Steven Fackler
30a3210be0 Revert "Strip prefixes from types"
This reverts commit ccdb02f661.

I'm not sure this is the right way to go just yet
2014-08-18 22:02:16 -07:00
Steven Fackler
ccdb02f661 Strip prefixes from types
They can be prefixed with the crate name
2014-08-18 21:52:56 -07:00
Steven Fackler
97efc52a3b Formatting cleanup 2014-08-14 23:05:11 -07:00
Steven Fackler
072198ed00 Remove remaining references to UUID 2014-08-02 19:09:49 -07:00
Steven Fackler
bb6fbfbc6f Update README 2014-07-25 22:42:24 -07:00
Steven Fackler
a2c597eb38 Fix README syntax
Closes #48
2014-07-24 09:11:53 -07:00
Steven Fackler
7e59c4584b Down with casting! 2014-07-03 09:19:15 -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
dba7778721 Fix README example 2014-06-28 23:54:17 -07:00
Steven Fackler
c577975b3c Fix type locations 2014-06-27 20:36:12 -07:00
Steven Fackler
a2fdd9b6e6 Fix stuff for int fallback removal 2014-06-27 19:36:23 -07:00
Steven Fackler
f576e874b5 More README updates 2014-06-05 20:55:06 -07:00
Steven Fackler
ee8b788c3f Fix syntax in README 2014-06-05 20:44:23 -07:00
Steven Fackler
e6b45ed291 Update for upstream changes 2014-05-28 21:54:02 -07:00
Steven Fackler
b926745f50 More StrBuf cleanup 2014-05-26 15:21:15 -07:00
Steven Fackler
5b496a188e StrBuf->String in README 2014-05-25 20:39:06 -07:00
Steven Fackler
584226bd23 Stop using to_strbuf 2014-05-24 20:42:07 -07:00
Steven Fackler
30de7f1b73 Remove last references to ~str 2014-05-18 21:24:53 -07:00
Steven Fackler
113e7177ee Fix README examples 2014-05-18 21:23:53 -07:00
Steven Fackler
7849a5843d Death to ~str! 2014-05-15 19:59:01 -07:00
Steven Fackler
b4c1520ea1 Add documentation for domain sockets to README 2014-05-14 22:23:57 -07:00
Steven Fackler
a00ad0d54e Start to move to StrBuf 2014-05-11 21:52:59 -07:00
Steven Fackler
8ac357dcd2 Update doc URL 2014-04-27 23:17:30 -07:00
Steven Fackler
6593ba51ed Last bit of de-~"" 2014-04-21 21:29:46 -07:00
Steven Fackler
79ba9a0e4e Update README with Vec changes 2014-04-08 09:59:45 -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
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
b8874f25a8 Bump submodule versions 2014-03-15 21:33:44 -07:00
Steven Fackler
539fe2d677 Correct error handling example 2014-03-09 15:25:38 -07:00
Steven Fackler
999804a840 Update README 2014-03-08 23:37:31 -08:00
Steven Fackler
ea45cef780 Update error checking example 2014-02-15 18:28:10 -08:00
Steven Fackler
e83e64c09c Fix README for extern mod -> extern crate change 2014-02-15 18:11:23 -08:00
Steven Fackler
18cc9fb7b7 Update README for do removal 2014-02-02 15:02:59 -05:00
Steven Fackler
bfc5b2bb7a Update docs link 2014-01-22 21:48:42 -08:00
Steven Fackler
e22ef497a7 Stop using rustpkg-style extern mods 2014-01-20 15:59:28 -08:00
Steven Fackler
920d7d5739 Update README for update -> execute change 2013-12-28 20:27:20 -07:00
Steven Fackler
91f245376f Minor doc update 2013-12-16 22:17:10 -08:00
Steven Fackler
9283f91429 Move doc URL 2013-12-12 22:12:31 -08:00
Steven Fackler
6dd62d8d54 Fix typo in README example 2013-12-12 10:10:44 -08:00
Steven Fackler
88a6f94c96 Support JSON[] 2013-12-08 16:00:33 -08:00
Steven Fackler
a2487c05fd Support INT8RANGE[] 2013-12-08 15:07:51 -08:00
Steven Fackler
fe2238f751 Compress types in README 2013-12-08 15:03:27 -08:00
Steven Fackler
5f669f2e05 Support TSRANGE[] and TSTZRANGE[] 2013-12-08 15:02:38 -08:00
Steven Fackler
a74834896a Support INT4RANGE[] 2013-12-08 14:37:31 -08:00
Steven Fackler
5471b7d6ae Support UUID[] 2013-12-08 14:16:37 -08:00
Steven Fackler
8753cee219 Support TIMESTAMPTZ[] 2013-12-08 14:08:35 -08:00
Steven Fackler
61805cefd7 Support TIMESTAMP[] 2013-12-08 14:04:26 -08:00
Steven Fackler
e34c835eb2 Support VARCHAR[] 2013-12-08 13:58:41 -08:00
Steven Fackler
9c731cd587 Support CHAR(n)[] 2013-12-08 11:44:37 -08:00
Steven Fackler
29372eb885 Support TEXT[] 2013-12-07 19:13:21 -08:00
Steven Fackler
d5a125f88b Support INT2[] 2013-12-07 18:58:40 -08:00
Steven Fackler
7dde11535b Support "char"[] 2013-12-07 18:49:55 -08:00
Steven Fackler
95fbb4f32f Support BYTEA[] 2013-12-07 18:38:53 -08:00
Steven Fackler
9ce4df68f4 Support BOOL[] 2013-12-07 15:39:44 -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
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
6e9e9ebe3e Support hstore 2013-12-04 21:20:48 -08:00
Steven Fackler
a0df39b2c9 Support INT8[] 2013-12-03 22:32:54 -08:00
Steven Fackler
c7d58e73c4 Make rows 1-indexed 2013-12-02 19:53:40 -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
a86d33c96b Switch docs to sfackler.com
octayn doesn't support rustpkg yet
2013-11-15 19:55:09 -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
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
Steven Fackler
33bb40656d More README work 2013-11-05 21:31:24 -08:00
Steven Fackler
74d6f38690 Minor README cleanup 2013-11-05 21:29:41 -08:00
Steven Fackler
42f5224e72 Remove lazy query info from README
It's a pretty obscure feature.
2013-11-05 21:15:57 -08:00
Steven Fackler
102a3c9517 Update doc link in readme 2013-11-03 20:54:07 -08:00
Steven Fackler
c4e6e49d8a Document range types 2013-10-30 22:51:18 -07:00
Steven Fackler
42555b7a09 Remove MD5 support
:(
2013-10-28 08:42:57 -07:00
Steven Fackler
9e1eb34da1 Switch docs back to sfackler.com 2013-10-16 20:42:20 -07:00
Steven Fackler
e6b741133f Add rustpkg style extern mods to example 2013-10-15 17:37:34 -07:00
Steven Fackler
ca4356fd4b Change transaction API to RAII style 2013-10-13 18:58:31 -07:00
Steven Fackler
db2d81d813 Add Travis CI build status 2013-10-08 02:03:05 -04:00
Steven Fackler
ce5ea23593 Update docs location in README 2013-10-07 09:51:09 -07:00
Steven Fackler
df9a348980 Fixed up example 2013-10-01 00:01:54 -07:00
Steven Fackler
f484d8dceb Documentation updates 2013-09-29 22:03:11 -07:00
Steven Fackler
c0280f385f Add documentation link 2013-09-29 21:21:00 -07:00
Steven Fackler
498d2e7b26 Simplify connection pool
It's going to just be fixed size for now
2013-09-17 23:08:42 -07:00
Steven Fackler
d244e2cd13 README cleanup 2013-09-15 20:05:32 -07:00
Steven Fackler
3a7f9ac50c Updated README with error code stuff 2013-09-15 19:26:56 -07:00
Steven Fackler
be38e13130 Document TIMESTAMP WITH TIME ZONE 2013-09-08 21:42:03 -07:00
Steven Fackler
7971e8678d DNS lookup 2013-09-08 14:26:34 -07:00
Steven Fackler
20b7b5426d Timestamp support
cc #6
2013-09-08 13:27:43 -07:00
Steven Fackler
cf5bd66218 Add nested transaction support 2013-09-04 23:28:44 -07:00
Steven Fackler
06a9a7c399 Document lazy queries 2013-09-03 22:55:01 -07:00
Steven Fackler
7990809251 Switch MemReader to BufReader 2013-09-03 19:35:28 -07:00
Steven Fackler
955d4cfe0f Grammar fix 2013-09-02 23:27:55 -07:00