Steven Fackler
3a01ffba83
Upgrade for upstream changes
2014-05-16 18:24:31 -07:00
Steven Fackler
7849a5843d
Death to ~str!
2014-05-15 19:59:01 -07:00
Steven Fackler
dcd47041d0
More ~str -> StrBuf
2014-05-15 19:27:19 -07:00
Steven Fackler
1909bd46b4
Update for upstream StrBuf changes
2014-05-15 19:11:23 -07:00
Steven Fackler
b4c1520ea1
Add documentation for domain sockets to README
2014-05-14 22:23:57 -07:00
Steven Fackler
306b9766c6
Update for upstream change
2014-05-14 19:02:38 -07:00
Steven Fackler
7f318f2865
Update for upstream changes
2014-05-13 19:27:26 -07:00
Steven Fackler
d1c412b393
More ~str -> StrBuf
2014-05-12 22:05:37 -07:00
Steven Fackler
dc6bb579c2
Little cleanup
2014-05-11 23:28:54 -07:00
Steven Fackler
a00ad0d54e
Start to move to StrBuf
2014-05-11 21:52:59 -07:00
Steven Fackler
550b616ebf
Switch travis.yaml to use nightlies
2014-05-11 21:31:25 -07:00
Steven Fackler
a720f39b08
Update for transmute move
2014-05-11 21:20:14 -07:00
Steven Fackler
d438521684
More Vec-ifying
2014-05-09 21:15:12 -07:00
Steven Fackler
2e5d2d305f
Bump submodule versions
2014-05-08 20:58:19 -07:00
Steven Fackler
8fcdf9674b
Remove transmute_mut calls in types::array
...
There are transmute calls inside of match blocks that I don't think
should be necessary but I can't figure out how to get rid of them right
now.
2014-05-06 23:06:34 -07:00
Steven Fackler
bba3757521
Bump rust-openssl version
2014-05-05 21:11:28 -07:00
Steven Fackler
6e0a860b9d
Pull IO stuff out to a separate module.
2014-05-04 12:21:52 -07:00
Steven Fackler
ff587b3334
Use Box instead of ~
2014-05-03 22:38:50 -07:00
Steven Fackler
58aa20077f
Merge pull request #37 from jsanders/add-name-type
...
Add "name" type
2014-05-04 00:28:19 -04:00
James Sanders
de99157fc3
Add test for querying datname from pg_database
...
This is my use case for the "name" type.
2014-05-03 22:25:00 -06:00
James Sanders
b1e3e0e86e
Add "name" type
...
This is the type of the datname column in pg_database, which I want so
that I can get a full list of databases. I'm mimicing the text types,
which seems to work, but I'm not sure if it's really the proper way to do it.
2014-05-02 17:38:06 -06:00
Steven Fackler
9a9b3c1476
Don't pass along RUSTFLAGS to subprojects
2014-05-01 19:29:13 -07:00
Steven Fackler
47334ba6f4
Update submodules
2014-04-27 23:25:07 -07:00
Steven Fackler
8ac357dcd2
Update doc URL
2014-04-27 23:17:30 -07:00
Steven Fackler
c61c0c23cc
Change doc root URL
2014-04-27 23:16:59 -07:00
Steven Fackler
038639e433
Use PostgresResult in types
2014-04-26 15:07:48 -07:00
Steven Fackler
180c13dee6
Clean up string creation
2014-04-26 14:46:38 -07:00
Steven Fackler
ecea5672a7
Minor cleanup
2014-04-25 23:14:55 -07:00
Steven Fackler
ec43eb86a6
Allocate with box instead of ~
2014-04-25 21:59:44 -07:00
Steven Fackler
e1ebf3a953
Clarify SSL limitations
...
cc #36
2014-04-23 22:54:34 -07:00
Steven Fackler
9eb69c7149
Bump rust-phf version
2014-04-23 20:33:13 -07:00
Steven Fackler
36f4266738
Clean up some internal macros
2014-04-22 23:02:56 -07:00
Steven Fackler
8eca3aecb6
Remove frumious pool hack
2014-04-22 22:14:12 -07:00
Steven Fackler
47cb9b1c3e
Eliminate a few more sources of failure + refactor
2014-04-21 22:53:14 -07:00
Steven Fackler
aca87688fe
Don't decode a non-path host
...
We should let the DNS resolution system handle that part.
2014-04-21 21:43:00 -07:00
Steven Fackler
6593ba51ed
Last bit of de-~""
2014-04-21 21:29:46 -07:00
Steven Fackler
59e548623c
De ~""
2014-04-21 21:01:44 -07:00
Steven Fackler
ed1b75147e
Minor docs cleanup
2014-04-20 22:53:54 -07:00
Steven Fackler
5c866ba20b
Unify Unix and TCP connection creation
...
Not all Unix socket setups can be configured via a URL connection string
since paths need not be UTF8, so it's possible to directly pass a
`PostgresConnectParams` type into `connect`.
In addition, an SSL encrypted connection can be used via Unix sockets.
2014-04-20 22:27:55 -07:00
Steven Fackler
11193628e9
Re-pub ResultDescription fields
2014-04-20 14:38:11 -07:00
Steven Fackler
2085d01c01
Enable the connect_unix doc test
2014-04-19 11:10:27 -07:00
Steven Fackler
cc3db19974
Merge pull request #35 from zr40/add-unix-domain-socket
...
Add support for connecting through Unix sockets
2014-04-19 12:45:48 -04:00
Matthijs van der Vleuten
5e85d6b9bd
test_unix_connection now detects the socket directory.
...
Change pg_hba.conf to allow connections through the socket.
Ignore connect_unix doc test. It requires `extern crate url;` which is not allowed with rustdoc.
Also, per comments on PR #35 :
- Inline open_unix
- Centralize common code from connect and connect_unix in connect_finish.
2014-04-19 11:42:17 +02:00
Steven Fackler
3c2394fbeb
Update for ~[T] changes
2014-04-19 00:01:20 -07:00
Matthijs van der Vleuten
707e7ccfa4
Add support for connecting through Unix sockets
...
Includes connection test (assumes socket is in /tmp, the default location).
2014-04-18 23:41:39 +02:00
Steven Fackler
81f19d9b39
Bump rust-phf version
2014-04-17 21:06:30 -07:00
Steven Fackler
994c5fba7f
Remove the last remaining {:?}
2014-04-16 20:07:06 -07:00
Steven Fackler
e8f183d589
Workaround rustc bug
...
There's an assert getting tripped in the metadata encoder
2014-04-15 23:49:41 -07:00
Steven Fackler
650a03003d
Less sketchy shift
2014-04-11 19:57:09 -07:00
Steven Fackler
8516d841f1
Tweak connection pool API
2014-04-11 19:45:06 -07:00