Commit Graph

834 Commits

Author SHA1 Message Date
Steven Fackler
91f89976c8 Fix non default database usage 2013-10-04 20:26:52 -07:00
Steven Fackler
12c5ebc34b Handle errors on initial connect 2013-10-04 19:26:57 -07:00
Steven Fackler
8a738365c7 Add doc root url attribute 2013-10-04 00:01:58 -07:00
Steven Fackler
70028c4267 Add some more documentation after lint fixes 2013-10-03 22:13:58 -07:00
Steven Fackler
5a4ef27311 Fix for new printf 2013-10-01 19:55:17 -07:00
Steven Fackler
b06769bd86 Remove newtype usage
Newtype structs can't hide their internals, so it seems best to not use
them.
2013-10-01 00:40:46 -07:00
Steven Fackler
df9a348980 Fixed up example 2013-10-01 00:01:54 -07:00
Steven Fackler
e2260ca15b Minor cleanup 2013-09-30 08:35:03 -07:00
Steven Fackler
237ae8c16a Move convenience methods to default methods 2013-09-29 23:44:45 -07:00
Steven Fackler
bba1f87721 Documentation fixes 2013-09-29 22:22:10 -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
83c1349af9 Add back version to avoid warning 2013-09-29 20:00:27 -07:00
Steven Fackler
32f67c5abd Switch things to newtypes
The bug I thought was blocking this wasn't actually.
2013-09-29 19:55:14 -07:00
Steven Fackler
83ad914774 Documentation for everything else 2013-09-29 19:47:30 -07:00
Steven Fackler
7729cdae58 Documentation for the postgres module 2013-09-29 19:12:20 -07:00
Steven Fackler
418d1bee28 Inline result indexing stuff 2013-09-29 10:53:44 -07:00
Steven Fackler
8fa7858b07 Make TransactionalPostgresStatement a newtype 2013-09-29 10:40:11 -07:00
Steven Fackler
25cd85e736 Minor cleanup 2013-09-28 23:02:51 -07:00
Steven Fackler
236ad87a8e Make NaN test more comprehensive 2013-09-28 21:33:55 -07:00
Steven Fackler
380d03ffbe Kill off Makefile
Due to mozilla/rust#9602, the connection pool test had to be pulled into
the main test file.
2013-09-28 21:19:27 -07:00
Steven Fackler
324809f368 Rustpkg support!
Closes #12
2013-09-28 20:36:04 -07:00
Steven Fackler
88bb03119a Restructure to support rustpkg 2013-09-28 20:30:35 -07:00
Steven Fackler
81af9e9e98 Import Port 2013-09-28 11:14:06 -07:00
Steven Fackler
67c6b3ffee Visibility fix 2013-09-27 23:00:15 -07:00
Steven Fackler
4d489f7737 Remove unneeded cfg debug 2013-09-25 17:20:58 -07:00
Steven Fackler
19c834c2e7 Fixes for new master 2013-09-25 17:03:41 -07:00
Steven Fackler
ce0031c5d0 Restructure Cell wrapping for PostgresConnection
It's silly to wrap each individual field in Cell when we can just wrap
everything together.
2013-09-19 21:06:45 -07:00
Steven Fackler
bad3a5e36c Stop storing query string in statement
The query string isn't as useful here since any error at this stage
won't be a syntax issue.
2013-09-18 20:54:47 -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
fa472cf312 Restructure conn pool to RAII style 2013-09-17 22:06:47 -07:00
Steven Fackler
3c7c5dce51 More robust pool test 2013-09-16 23:38:27 -07:00
Steven Fackler
65aabf5147 Sketches of a connection pool 2013-09-16 23:03:13 -07:00
Steven Fackler
2f282affe6 Move transaction cleanup to descructor
Support for connection pooling, since we'll recover the conn after a
task failure.
2013-09-15 22:35:30 -07:00
Steven Fackler
d244e2cd13 README cleanup 2013-09-15 20:05:32 -07:00
Steven Fackler
980fa9b474 Simplify result_format logic 2013-09-15 19:43:46 -07:00
Steven Fackler
3a7f9ac50c Updated README with error code stuff 2013-09-15 19:26:56 -07:00
Steven Fackler
1858ed41dc Better error output 2013-09-14 22:56:52 -07:00
Steven Fackler
a00843751e Parse Notice/Error SQLSTATE codes
The enum is stuck inside of an extra module due to mozilla/rust#4375.
2013-09-14 21:37:20 -07:00
Steven Fackler
f392d6caf1 Use buffered IO
Closes #17
2013-09-14 13:08:09 -07:00
Steven Fackler
5654fa5f2a Fail on incorrect parameter count 2013-09-11 22:33:19 -07:00
Steven Fackler
4ec8130860 Don't fail on unsupported auth methods 2013-09-11 22:02:32 -07:00
Steven Fackler
970b5f657a Allow custom notice handling
It was a tossup between a ~fn and a ~Trait *shrug*
2013-09-11 19:57:26 -07:00
Steven Fackler
db634b5a3c Get rid of use * 2013-09-08 22:40:08 -07:00
Steven Fackler
be38e13130 Document TIMESTAMP WITH TIME ZONE 2013-09-08 21:42:03 -07:00
Steven Fackler
9562711af3 TIMESTAMP WITH TIMEZONE support 2013-09-08 21:33:41 -07:00
Steven Fackler
5bb1ec2db7 Remove read_message macros
Workaround for mozilla/rust#9049 but probably the right thing to do in
any case.
2013-09-08 20:35:24 -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
ce034e3a70 Update to newest master 2013-09-07 15:45:11 -07:00