44 Commits

Author SHA1 Message Date
Herman J. Radtke III
4356679356
Merge pull request #36 from djmitche/format-docs
Include documentation on the URL format in the README
2020-02-17 09:34:43 -08:00
Dustin J. Mitchell
b4e0ba329a Include documentation on the URL format in the README
This summarizes the common forms, but omits some of the more particular,
and unnecessary forms, such as specifying UNIX domain sockets with
`pg://` URLs.
2020-02-16 12:30:46 -05:00
Herman J. Radtke III
9b89828fac
Merge pull request #34 from danielrozenberg/support-other-socket-modes
Support more modes to set the host as a socket
2020-02-01 08:33:42 -08:00
Daniel Rozenberg
7ec9b70180 Use regex instead of startsWith which is unsupported in node 0.10 2020-01-28 19:40:51 -05:00
Daniel Rozenberg
b309db074f Support URL-encoded socket names 2020-01-28 19:29:38 -05:00
Daniel Rozenberg
0ff40e733b host= query param takes precedence 2020-01-28 19:28:45 -05:00
Luis Montes
a483bdf5d9
Merge pull request #31 from iceddev/fix-coverall-badge
fix readme newline typo
2019-06-18 20:56:05 -07:00
Andrew Bowerman
e4c1002e2e
actually include coveralls 2019-06-18 20:49:39 -07:00
Andrew Bowerman
c75c392965
fix readme newline typo 2019-06-18 20:41:10 -07:00
Luis Montes
0f72f29a73
Merge pull request #30 from iceddev/fix-coverall-badge
Update coveralls badge
2019-06-18 20:30:33 -07:00
Andrew Bowerman
c9ee9cd199
Update coveralls badge
Closes #15
2019-06-18 20:25:32 -07:00
Andrew Bowerman
06c46ac12b
2.1.0 2019-06-18 20:12:03 -07:00
Herman J. Radtke III
4db1a7e9ab
Merge pull request #18 from benny-medflyt/patch-1
Fix typings
2019-06-11 15:37:06 -07:00
benny-medflyt
726f6202fa
Update index.d.ts 2019-05-27 08:30:21 -04:00
Herman J. Radtke III
d7b96e6f44
Merge pull request #28 from hjr3/ssl-parsing
ssl=0 is now parses to false
2019-05-23 14:29:22 -07:00
Herman J. Radtke III
7b62226d57 ssl=0 is now parses to false
Fixes #20
2019-05-23 14:27:46 -07:00
Herman J. Radtke III
43114f4c99
Merge pull request #17 from ywkim/master
Add supporting username and password for socket connections
2019-05-23 13:20:33 -07:00
Herman J. Radtke III
b53c2bd224
Merge pull request #24 from benjie/patch-1
Only publish the required files
2019-05-23 13:17:32 -07:00
Herman J. Radtke III
ac63695b60
Merge pull request #26 from hjr3/ssl-support
Add support for TLS parameters in URI
2019-05-23 13:16:41 -07:00
Herman J. Radtke III
e9270e89af Add support for TLS parameters in URI
The connection string now supports the following parameters:

- sslcert
- sslkey
- sslrootcert

Fixes #25.
2019-05-17 07:58:09 -07:00
Benjie Gillam
c11dbb1c2b
Only publish the required files
Details: https://docs.npmjs.com/files/package.json#files
2019-04-18 14:46:36 +01:00
benny-medflyt
ece7645187
typings: turns out "host" can actually be null 2017-12-13 11:23:28 +02:00
benny-medflyt
929fcb73c3
Fix typings 2017-12-13 11:20:29 +02:00
Youngwook Kim
279fdeae2f Add supporting username and password for socket connections
This fix adds the ability to use username and password even when using
a socket.
2017-11-22 10:17:22 +09:00
Luis Montes
eafb7acd95 2.0.0 2017-08-30 14:25:59 -07:00
Luis Montes
13687353c9 Use mocha, istanbul, and coveralls (#16)
* some tests

* coveralls and mocha

* coveralls post test hook

* remove done calls
2017-08-30 13:58:52 -07:00
Luis Montes
cf107b00da Merge pull request #11 from caub/max
thanks, @caub !
2017-08-30 10:26:03 -07:00
caub
9ab62ff9f3 allow min/max params for pg-pool 2017-08-04 08:58:44 +02:00
Luis Montes
45d82320b7 Merge pull request #10 from NoNameProvided/patch-1
Add support for Typescript typings

thanks @NoNameProvided  !
2017-06-27 10:09:14 -07:00
Luis Montes
e6643e4cb4 Merge pull request #7 from motiz88/extra-keys
Copy all but special-cased params from URL query string to config
2017-06-27 09:56:42 -07:00
Attila Olah
54c2044416 feat: add basic typings
To make this app consumable by Typescript apps a typings file must be present.
2017-04-27 12:41:30 +02:00
Moti Zilberman
cdf06edd14 Copy all but special-cased params from URL query string to config 2015-12-30 15:16:38 +02:00
Blaine Bublitz
07a7143fc9 Merge pull request #6 from misaxi/master
Update README.md
2015-10-12 15:21:52 -07:00
Mike He
c612dfabd5 Update README.md 2015-10-13 09:19:26 +11:00
Blaine Bublitz
4c151b9403 0.1.3 2014-09-26 14:22:46 -07:00
Blaine Bublitz
0a07e3d415 Merge pull request #2 from asynxis/master
Add supporting password with colon
2014-09-26 17:22:15 -04:00
Ivan Sorokin
fbdd033d6c Add supporting password with colon 2014-09-26 23:20:53 +03:00
Blaine Bublitz
245abd6daf 0.1.2 2014-09-13 09:20:28 -07:00
Blaine Bublitz
c502985c60 Merge pull request #1 from slickmb/task/relative_url
Support usage of relative urls to set database on the default host
2014-09-13 12:15:22 -04:00
matthew.blasius
ba511f7803 Support usage of relative urls to set database on the default host 2014-09-12 11:42:53 -04:00
Blaine Bublitz
cb9bee1bc9 0.1.1 2014-07-06 16:34:14 -07:00
Blaine Bublitz
df2a24c555 attach port always - ref brianc/node-postgres#604 2014-07-06 16:33:53 -07:00
Blaine Bublitz
92c1fede8e initial commit 2014-07-05 16:43:58 -07:00
Blaine Bublitz
88aafd73fa Initial commit 2014-07-05 16:22:20 -07:00