Herman J. Radtke III
6be857e9d3
chore(pg-connection-string): use tsx for tests
2025-05-06 06:49:24 -04:00
Meghan Denny
bbc84b2690
pg-connection-string: fix 'parse' type signature
2025-04-23 10:43:34 -04:00
Patrick Malouin
81ec0635fc
feat(pg-connection-string): get closer to libpq semantics for sslmode
...
Allows user to change the semantics of `sslmode` to be as close as possible to libpq semantics. The opt in can be enabled using `useLibpqCompat` parsing option or the non-standard `uselibpqcompat` query string parameter.
---------
Co-authored-by: Charmander <~@charmander.me>
Co-authored-by: Herman J. Radtke III <herman@hermanradtke.com>
2025-04-20 08:13:33 -04:00
Herman J. Radtke III
5a8b1a7d24
feat(pg-connection-string): ClientConfig helper functions
...
Two new functions are introduced to make it easy for TypeScript
users to use a PostgresSQL connection string with pg Client.
Fixes #2280
2025-04-08 20:06:28 -04:00
Rafi Shamim
06cdf3e9f0
Support options connection parameter
...
This supports the connection parameter documented here:
https://www.postgresql.org/docs/9.1/libpq-connect.html#LIBPQ-CONNECT-OPTIONS
2020-05-14 10:07:35 -04:00
Brian M. Carlson
3a831fc77c
Run lint --fix
2020-04-28 10:02:38 -05:00
Brian M. Carlson
4aff01ef8f
Add 'packages/pg-connection-string/' from commit '5233b3e77e396a368130709e762fca836290a528'
...
git-subtree-dir: packages/pg-connection-string
git-subtree-mainline: 35328807e3612cb267bee86dccb2551ad186624a
git-subtree-split: 5233b3e77e396a368130709e762fca836290a528
2020-04-28 09:50:40 -05:00