Commit Graph

896 Commits

Author SHA1 Message Date
Steven Fackler
9253635fef Move pool out of its own directory
It's not going to get complicated enough at the moment to require
submodules.
2013-10-12 15:18:50 -07:00
Steven Fackler
c93b299aca Use temporary schema for PL/pgSQL function 2013-10-12 13:32:48 -07:00
Steven Fackler
4ef339f5b1 Update for PostgreSQL 9.3
Errors contain more information.

The notice handler test was rewritten to explicitly generate a notice.
2013-10-12 13:27:59 -07:00
Steven Fackler
53f342a53a Fixes for Rust changes 2013-10-10 20:50:39 -07:00
Steven Fackler
e50bbd5d5c Minor Travis config cleanup 2013-10-08 00:18:36 -07:00
Steven Fackler
039d02ed58 Fix tests on Travis 2013-10-08 00:00:58 -07:00
Steven Fackler
db2d81d813 Add Travis CI build status 2013-10-08 02:03:05 -04:00
Steven Fackler
8a4cc66cbf Testing fixes 2013-10-07 23:00:11 -07:00
Steven Fackler
ecaaac1dc2 Basic Travis CI config 2013-10-07 21:59:21 -07:00
Steven Fackler
dfd414a603 Fix for latest master 2013-10-07 21:59:21 -07:00
Steven Fackler
ce5ea23593 Update docs location in README 2013-10-07 09:51:09 -07:00
Steven Fackler
942214b55e Hide message mod from docs 2013-10-05 12:38:33 -07:00
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