Commit Graph

799 Commits

Author SHA1 Message Date
Steven Fackler
cc75249620 Make transactions roll back by default 2014-07-25 22:41:10 -07:00
Steven Fackler
1c9d482c1d assert! -> debug_assert! 2014-07-25 20:15:24 -07:00
Steven Fackler
c71815c675 Clean up example 2014-07-25 17:56:43 -07:00
Steven Fackler
fcedda95ce Pull user info out into a separate struct 2014-07-25 17:24:10 -07:00
Steven Fackler
dc3b5d863b Remove deprecated method use 2014-07-25 16:09:34 -07:00
Steven Fackler
cdaab78181 Merge pull request #49 from johto/errorresponse_after_datarow
Correctly handle ErrorResponse after one or more DataRows
2014-07-25 01:00:31 -04:00
Marko Tiikkaja
b95299e47c Correctly handle ErrorResponse after one or more DataRows
Previously, if a query failed with an ErrorResponse after the server had
sent one or more DataRows, stmt.query() incorrectly returned
PgBadResponse.  Fix by handling the error correctly and returning it to
the caller.
2014-07-25 03:03:32 +02:00
Steven Fackler
a2c597eb38 Fix README syntax
Closes #48
2014-07-24 09:11:53 -07:00
Steven Fackler
61958fac3f Bump rust-phf 2014-07-23 18:30:50 -07:00
Steven Fackler
e9f5f00d35 Remove Show impl from PostgresNotification 2014-07-22 20:40:36 -07:00
Steven Fackler
5bbf61a65e Elide some lifetimes 2014-07-21 22:46:40 -07:00
Steven Fackler
37420603a0 Bump PHF version 2014-07-18 09:14:10 -07:00
Steven Fackler
82517b172a Yay Index! 2014-07-17 19:18:37 -07:00
Steven Fackler
052fe93443 Remove LD_LIBRARY_PATH override from travis config 2014-07-15 23:08:25 -07:00
Steven Fackler
625c26f572 Switch to Cargo for Travis tests 2014-07-15 22:59:27 -07:00
Steven Fackler
2d60edb813 Don't build a test crate for libpostgres 2014-07-12 20:49:34 -07:00
Steven Fackler
e0257e3da1 Add test target to Cargo config 2014-07-12 13:28:23 -07:00
Steven Fackler
10286ea274 Bump dependencies 2014-07-11 14:22:15 -07:00
Steven Fackler
e1ad351343 Merge pull request #46 from alexcrichton/bump-openssl
Bump openssl dep for an x86 fix
2014-07-11 14:20:01 -07:00
Alex Crichton
3adddb334d Bump openssl dep for an x86 fix 2014-07-11 13:59:06 -07:00
Steven Fackler
1722521f3b Moar paths 2014-07-10 13:11:55 -07:00
Steven Fackler
2161c38fa8 More LD_LIBRARY_PATH fixes 2014-07-10 13:06:24 -07:00
Steven Fackler
598bc29637 Fix travis builds 2014-07-10 12:45:54 -07:00
Steven Fackler
28744034bb Fix for upstream changes
RIP Index :(
2014-07-10 12:35:57 -07:00
Steven Fackler
b637ce640e Bump rust-phf version 2014-07-09 20:50:01 -07:00
Steven Fackler
cb096d91fc Purge failure from message layer
cc #43
2014-07-07 18:24:41 -07:00
Steven Fackler
57a31b7bf7 Refactor pool tests
Also actually build + compile types tests <_<
2014-07-07 16:08:50 -07:00
Steven Fackler
10bf6c211f Remove old config variable 2014-07-07 11:38:27 -07:00
Steven Fackler
a5298ddaa4 Bump dependency versions 2014-07-07 09:23:22 -07:00
Steven Fackler
d228799266 Merge pull request #45 from alexcrichton/cargo
Update to master
2014-07-07 12:09:32 -04:00
Alex Crichton
a0737d3232 Update to master 2014-07-07 06:41:43 -07:00
Steven Fackler
3590fe2788 More failure removal
CC #43
2014-07-06 21:34:27 -07:00
Steven Fackler
113466461e Purge unreachable!() use
CC #43
2014-07-06 19:02:36 -07:00
Steven Fackler
8d9d9fa08d Remove use of deprecated DuplexStream 2014-07-06 12:10:27 -07:00
Steven Fackler
37a5fddae7 Bump rust-phf 2014-07-05 10:12:22 -07:00
Steven Fackler
7e59c4584b Down with casting! 2014-07-03 09:19:15 -07:00
Steven Fackler
29e97749bf Purge block-doc comments 2014-07-02 22:23:17 -07:00
Steven Fackler
15a776dd56 Bump rust-phf version 2014-07-02 20:28:54 -07:00
Steven Fackler
9876185f6d Add explicit dependency on rust-phf 2014-07-01 19:57:26 -07:00
Steven Fackler
a804769103 Remove range test 2014-06-30 21:34:22 -07:00
Steven Fackler
42123f7765 Extract tests to a separate crate
This ensures that we're only testing public API and speeds up the
development process.
2014-06-30 21:30:39 -07:00
Steven Fackler
93d5eaf399 Update for upstream changes 2014-06-30 19:58:11 -07:00
Steven Fackler
092453b3b2 Fix docs for indexing 2014-06-29 23:05:26 -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
a9ec2a21e6 Update for * -> *const changes 2014-06-29 13:42:43 -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
a1761bb8d2 That's not the right rev! 2014-06-25 23:18:58 -07:00