node-postgres/test/unit
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
..
client Handle throws in type parsers (#1218) 2017-03-06 11:04:16 -06:00
connection Add test & documentation for replicationStart message 2017-04-24 13:33:38 -05:00
connection-parameters Libpq connection string escaping (#1285) 2017-05-15 12:19:13 -05:00
test-helper.js Fix of pool leaking by TCP-keepalive (#918) 2016-06-21 14:49:41 -05:00
utils-tests.js add option to parse input Dates as UTC 2016-02-23 17:02:08 -08:00