Commit Graph

728 Commits

Author SHA1 Message Date
Steven Fackler
2da41be987 Remove the old connection pool
It's been deprecated for a long time
2014-11-01 16:22:41 -07:00
Steven Fackler
c11cbd6b7d PostgresConnection -> Connection 2014-11-01 16:21:47 -07:00
Steven Fackler
d88666586a PostgresCancelData -> CancelData 2014-11-01 16:19:02 -07:00
Steven Fackler
570512725f PostgresNotification -> Notification 2014-11-01 16:18:09 -07:00
Steven Fackler
c6c7d8f574 PostgresNoticeHandler -> NoticeHandler 2014-11-01 16:16:50 -07:00
Steven Fackler
975b6dc350 PostgresConnectParams -> ConnectParams 2014-11-01 16:15:30 -07:00
Steven Fackler
09cb2fd4fe PostgresUserInfo -> UserInfo 2014-11-01 16:14:08 -07:00
Steven Fackler
873a006508 PostgresConnectTarget -> ConnectTarget 2014-11-01 16:13:01 -07:00
Steven Fackler
cea15783a5 PostgresResult -> Result 2014-11-01 16:12:05 -07:00
Steven Fackler
b939526d7b static -> const 2014-11-01 16:02:50 -07:00
Steven Fackler
22efd1da4b Update for removal of collections traits 2014-11-01 15:50:25 -07:00
Steven Fackler
4f6afa127a Update for PHF changes 2014-11-01 14:43:31 -07:00
Steven Fackler
75a938a322 Update for DST changes 2014-11-01 13:52:14 -07:00
Steven Fackler
a151a5ba02 Update for rust changes 2014-10-31 08:51:27 -07:00
Steven Fackler
867df819d7 Merge pull request #68 from steveklabnik/master
fail -> panic
2014-10-30 11:26:30 -04: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
4a9ca42b20 Reuse the same vec during copies 2014-10-28 09:16:11 -07:00
Steven Fackler
5dd09ce9c4 Update docs location 2014-10-26 13:11:14 -07: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
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
Steven Fackler
4751787939 Clean up some warnings 2014-10-25 20:54:27 -07:00
Steven Fackler
7929d07f74 Fix a desynchronization issue 2014-10-25 20:26:45 -07:00
Steven Fackler
6484836b68 Revert "DSTify ToSql"
This causes ICEs

This reverts commit c63a7f9a15.
2014-10-25 20:24:08 -07:00
Steven Fackler
a480ec1cfb Some more if let conversion 2014-10-25 17:58:46 -07:00
Steven Fackler
c63a7f9a15 DSTify ToSql 2014-10-25 10:19:49 -07:00
Steven Fackler
00164fad31 Fix read_message name
The issue that forced the rename has been resolved
2014-10-23 23:31:26 -07:00
Steven Fackler
7340603f09 Merge pull request #66 from slapresta/fix-connection-example-in-readme
Fix connection example in README
2014-10-23 13:09:46 -07:00
Santiago Lapresta
20d78704c8 Fix connection example in README 2014-10-23 22:04:38 +02:00
Steven Fackler
a8b834c8de Merge pull request #65 from alexcrichton/update
Update to rust master
2014-10-21 08:35:47 -07:00
Alex Crichton
c4e2e527d5 Update to rust master 2014-10-21 08:25:03 -07:00
Steven Fackler
511de7673f Remove unnecessary line breaks 2014-10-18 11:31:14 -07:00
Steven Fackler
33716f4901 Remove last unwrap call from PostgresDbError::new 2014-10-18 11:25:05 -07:00
Steven Fackler
86bf3b719b Switch some .to_string to .into_string 2014-10-18 11:17:12 -07:00
Steven Fackler
e73557cce0 Pull liburl in-crate
Cargo apparently can't deal with liburl and rust-url at the same time
and rust-url has some bugs that prevent using it for now.
2014-10-15 08:37:43 -07:00
Steven Fackler
774fd93d80 Start using if let 2014-10-13 21:12:25 -07:00
Steven Fackler
abd60ef1cf static -> const 2014-10-09 21:50:40 -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
b581e3a0af Doc rephrase 2014-10-05 20:49:09 -07:00
Steven Fackler
749dc34529 Clean up example a bit 2014-10-05 20:47:48 -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
dd4052210f Improve error handling in COPY 2014-10-01 14:40:43 -07:00
Steven Fackler
51ace9081a Don't fuse row iterator 2014-09-30 23:54:11 -07:00
Steven Fackler
a64ca5f955 Remove failure from PostgresDbError::new
Closes #43
2014-09-30 22:52:27 -07:00
Steven Fackler
5561e7baca Add column_types to copy in statement 2014-09-30 00:15:17 -07:00