Commit Graph

897 Commits

Author SHA1 Message Date
Steven Fackler
616b725763 Merge pull request #184 from nvanbenschoten/nvanbenschoten/savepoints
Add savepoint method to Transaction
2016-05-26 21:20:48 -07:00
Nathan VanBenschoten
c60964af17 Replace Option<&'conn str> with Option<String> 2016-05-27 00:05:09 -04:00
Steven Fackler
ae4b8d1fa1 Slightly tweak comment
Probably worth mentioning the specific DBs here.
2016-05-26 20:33:14 -07:00
Steven Fackler
39c8745c82 Merge pull request #178 from nvanbenschoten/nvanbenschoten/pgcatalog
Ignore InvalidCatalogName errors for pg_catalog queries
2016-05-26 20:27:31 -07:00
Nathan VanBenschoten
cf3ead046e Add savepoint method to Transaction
This change creates a `Transaction.savepoint` method, which is equivalent
to `Transaction.transaction`, but takes a custom name for the nested
transaction's savepoint name.
2016-05-25 17:17:36 -04:00
Joshua Miller
0c54f01a0e Handle malformed percent-encoding
Closes #182
2016-05-18 20:33:12 -05:00
Nathan VanBenschoten
ab2f3305e1 Ignore InvalidCatalogName errors for pg_catalog queries 2016-05-13 18:09:08 -04:00
Steven Fackler
efab1217da Release v0.11.7 2016-04-12 12:34:54 -07:00
Steven Fackler
2b0460acb4 Style 2016-04-05 22:18:14 -07:00
Steven Fackler
e607d44aad Drop unnecessary from_utf8 2016-04-05 22:17:06 -07:00
Steven Fackler
d962a9c9fe Add clippy as an optional dep and fix warnings 2016-04-05 20:52:34 -07:00
Steven Fackler
de573ff751 Move IsolationLevel into the transaction module 2016-04-05 20:19:48 -07:00
Steven Fackler
7b8532b28f Cleanup 2016-04-04 22:55:13 -07:00
Steven Fackler
ad3d0e99d5 Drop Sync rename 2016-04-04 22:53:34 -07:00
Steven Fackler
e418a62499 Fix message names 2016-04-04 22:52:59 -07:00
Steven Fackler
c16d1447fa Stop glob importing messages 2016-04-04 22:51:56 -07:00
Steven Fackler
da8707a316 Drop Message suffix 2016-04-04 22:35:45 -07:00
Steven Fackler
1e04e1362c Remove unused imports 2016-04-04 22:32:26 -07:00
Steven Fackler
f41b208b99 Release v0.11.6 2016-03-31 09:33:31 -07:00
Steven Fackler
96b1f7b7f7 Fix startup logic for old Postgres versions
Closes #167
2016-03-30 21:31:33 -07:00
Steven Fackler
e806483829 Release v0.11.5 2016-03-29 21:48:05 -07:00
Steven Fackler
8360821c1e Update and fix phf versions
Since we're caching the output of phf_codegen we need to force our
version to stay the same.
2016-03-29 21:33:48 -07:00
Steven Fackler
d48fa83c19 Only enable unix socket stuff on unix with nightly 2016-03-29 21:24:45 -07:00
Steven Fackler
9a595c9d3c Fix docs 2016-03-27 13:06:12 -07:00
Steven Fackler
b0bed6ab4c Add a nightly feature
Currently uses the UnixStream from the standard library
2016-03-27 13:03:19 -07:00
Steven Fackler
bd60ecfc1f Add impls for array types
Turns out the thing I thought was a blocker (the bytea impls) actually
isn't since u8 doesn't implement these traits. Yay for pre-1.0 thinking!
2016-03-27 09:42:21 -07:00
Steven Fackler
4501395784 Upgrade to byteorder 0.5 2016-03-11 22:51:20 -08:00
Steven Fackler
a3022dc559 Release v0.11.4 2016-03-09 21:04:55 -08:00
Steven Fackler
0624cd6338 Implement HandleNotice for FnMut(DbError) 2016-03-05 12:04:43 -08:00
Steven Fackler
dc52f84bcf Fix uuid and eui48 2016-03-03 21:29:04 -08:00
Steven Fackler
f49cfe3ca5 Move parse_update_count and delete util 2016-03-03 21:21:00 -08:00
Steven Fackler
16bc4b951d Use Read::read_exact 2016-03-03 21:19:46 -08:00
Steven Fackler
5b80b251a6 Finish up transaction config 2016-02-24 22:29:09 -08:00
Steven Fackler
6f59fb5b35 Start of transaction configuration 2016-02-24 00:01:22 -08:00
Steven Fackler
269c1765b9 Move transaction to its own module 2016-02-23 23:43:28 -08:00
Steven Fackler
15fe3f7c5f Rustfmt 2016-02-21 20:02:34 -08:00
Steven Fackler
2ed1367a3b Adjust Type generation to match old behavior 2016-02-21 18:53:16 -08:00
Steven Fackler
844a03932a Fix back compat for TimstampTZ 2016-02-21 13:54:49 -08:00
Steven Fackler
49bbe0373d Properly HTML escape docs for Type 2016-02-21 13:45:31 -08:00
Steven Fackler
c185bcf43f Use modules rather than include! for codegenned stuff 2016-02-21 13:37:29 -08:00
Steven Fackler
ed789cfad8 Use persistent codegen for SqlState and Type
Makes it easier to detect changes and speeds up the build.
2016-02-21 13:30:31 -08:00
Steven Fackler
9948bcda1e Derive Type from pg_type.h and pg_range.h 2016-02-21 13:19:40 -08:00
Steven Fackler
501b79b46c Suppress clippy lints not worth fixing 2016-02-20 15:26:33 -08:00
Steven Fackler
94368c6e7a Fix naming of composite field query 2016-02-20 15:21:24 -08:00
Steven Fackler
91bef8daa1 Split up get_type 2016-02-20 15:20:25 -08:00
Steven Fackler
5b54a6910b Clean up stuff pointed out by clippy 2016-02-20 15:06:15 -08:00
Steven Fackler
69e368dc41 Release v0.11.3 2016-02-17 22:23:37 -08:00
Steven Fackler
4c46f9fa89 Adjust Type::Enum to carry the variants 2016-02-17 22:22:31 -08:00
Steven Fackler
2f41c47944 Release v0.11.2 2016-02-17 21:30:19 -08:00
Steven Fackler
b638d0e051 Fix fallback typeinfo query 2016-02-17 11:26:43 -08:00