node-postgres/lib
Sehrope Sarkuni ee8193673c Libpq connection string escaping (#1285)
* Fix escaping of libpq connection string properties

Fix handlings of libpq connection properties to properly escape single
quotes and backslashes. Previously the values were surrounded in single
quotes which handled whitespace within the property value, but internal
single quotes and backslashes would cause invalid connection strings to
be generated.

* Update expected output in test to be quoted

Update the expect host output in the connection parameter test
to expect it to be surrounded by single quotes.

* Add test for configs with quotes and backslashes
2017-05-15 12:19:13 -05:00
..
native Add onFailure to query#then (#1082) 2016-07-19 10:16:48 -05:00
client.js Support for logical streaming replication (#1271) 2017-04-24 13:24:30 -05:00
connection-parameters.js Libpq connection string escaping (#1285) 2017-05-15 12:19:13 -05:00
connection.js Support for logical streaming replication (#1271) 2017-04-24 13:24:30 -05:00
defaults.js parse int8[] (#1152) 2016-12-16 09:44:19 -06:00
index.js Add onFailure to query#then (#1082) 2016-07-19 10:16:48 -05:00
pool-factory.js Fix native constructor and pool exports (#1061) 2016-06-24 00:52:28 -05:00
query.js Fix throw in type parsers when in prepared statement (#1242) 2017-03-09 15:05:26 -06:00
result.js Resolve merge conflict in PR #1041 (#1065) 2016-06-24 10:56:43 -05:00
type-overrides.js Resolve merge conflict in PR #1041 (#1065) 2016-06-24 10:56:43 -05:00
utils.js Remove confusing conditions (#1159) 2016-12-13 07:50:07 -06:00