Steven Fackler
269197f743
Fix build
2019-03-04 22:22:51 -08:00
Steven Fackler
d2723f5382
Don't conditionally compile config bits
2019-01-18 21:29:13 -08:00
Steven Fackler
8dcad81224
Support URL-style configuration strings
2019-01-01 12:11:30 -08:00
Steven Fackler
a675b0b50a
Accept a limited set of parameters in Config
...
This matches with libpq's behavior, which doesn't allow arbitrary
parameters. You can still set arbitrary parameters, just through the
`options` field.
2018-12-30 20:07:03 -08:00
Steven Fackler
45444d6c51
Support target_session_attrs
...
Closes #399
2018-12-30 11:50:15 -08:00
Steven Fackler
38db34eb6a
Support TCP keepalive
2018-12-30 09:38:12 -08:00
Steven Fackler
9116147aee
Rename Builder to Config
2018-12-29 21:00:58 -08:00
Steven Fackler
635e6381b3
A less stringy builder
...
This allows us to support things like non-utf8 passwords and unix socket
directories.
2018-12-28 13:51:30 -05:00
Steven Fackler
707b87a18e
Fix parameter parsing and add test
...
Our behavior matches libpq's - in particular it allows any escape
sequence and trailing \'s...
2018-12-16 19:24:22 -08:00