Commit Graph

77 Commits

Author SHA1 Message Date
Steven Fackler
c6c7d8f574 PostgresNoticeHandler -> NoticeHandler 2014-11-01 16:16:50 -07:00
Steve Klabnik
7d1be73156 update macro definition too 2014-10-30 01:13:32 -04:00
Steve Klabnik
675534c26f fail -> panic 2014-10-30 00:26:03 -04:00
Steven Fackler
e16fca84d7 switch to the username encode set for a test
This'll also escape `:` just in case someone has a super weird
filesystem
2014-10-26 12:39:53 -07:00
Steven Fackler
eaf61bec7b Use servo rust-url for test encoding 2014-10-26 12:05:43 -07:00
Steven Fackler
886f24ea9d Get rid of literal type specifiers
Yay trait reform!
2014-10-25 23:43:59 -07:00
Steven Fackler
7929d07f74 Fix a desynchronization issue 2014-10-25 20:26:45 -07:00
Steven Fackler
f62aa26917 Fix for upstream changes 2014-10-09 20:43:14 -07:00
Steven Fackler
557a159a8a Add a trait abstracting over transactions and connections
This is implemented *in addition* to the intrinsic methods because
having to import a trait to call `prepare` sucks.

Closes #63
2014-10-08 20:29:26 -07:00
Steven Fackler
b69ae99a51 Handle COPY IN in batch_execute 2014-10-05 17:31:25 -07:00
Steven Fackler
58dd5fe12b Remove weird continue 2014-10-05 14:47:57 -07:00
Steven Fackler
e5ed2ba96e Use new slice syntax 2014-10-04 20:08:44 -07:00
Steven Fackler
0c3f3b1e83 More docs + return copy count from execute 2014-09-30 00:11:23 -07:00
Steven Fackler
249db6b55a Correctly handle bad column counts in copy 2014-09-29 23:32:57 -07:00
Steven Fackler
2e61f1316f Initial COPY FROM support!
cc #51
2014-09-29 22:56:43 -07:00
Steven Fackler
a4a625a30c Detect direct queries to COPY FROM 2014-09-29 21:05:42 -07:00
Steven Fackler
c40fc64197 Reenable types::array
We really shouldn't need the 'static bound on T, but that can be fixed
another day.
2014-09-11 21:40:52 -07:00
Steven Fackler
e930dd8105 Fix up for openssl changes 2014-09-05 21:57:08 -07:00
Steven Fackler
3a745746bc Remove explicit casts from tests 2014-08-31 23:09:53 +01:00
Steven Fackler
7a84a16b41 Get things building again
I'm temporarily diabling arrays until I have a chance to look over and
make sure the API is sound.

This also works around a trait object coercion regression:
rust-lang/rust#16861
2014-08-30 10:25:38 +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
f7c0038fa3 Formatting cleanup 2014-08-15 19:50:11 -07:00
Steven Fackler
c577e460f6 Fix test 2014-08-15 19:35:27 -07:00
Steven Fackler
619dd47fca Update for Duration API (yay!) 2014-08-14 20:00:13 -07:00
Steven Fackler
f04fc0d118 Deprecate connection pool 2014-08-05 23:28:08 -07:00
Steven Fackler
d374641ecb Remove some indirection from files 2014-08-02 19:10:45 -07:00