Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
c0d3905
Initial commit
brianc Jun 8, 2016
ad73407
Initial commit
brianc Jun 8, 2016
2aa207e
Update test semantics
brianc Jun 10, 2016
1decf96
Create README.md
brianc Jun 10, 2016
da6a2b0
Update README.md
brianc Jun 10, 2016
5c88bd6
Update readme
brianc Jun 10, 2016
d735385
Update README.md
brianc Jun 10, 2016
d42770a
Demonstrate that pg-pool exports Pool constructor
jrf0110 Jun 11, 2016
36d50ec
Merge pull request #1 from jrf0110/patch-1
brianc Jun 11, 2016
cb21c2a
Better compatibility with pg
brianc Jun 11, 2016
e38cfe0
Bump version
brianc Jun 11, 2016
a6f641e
Only release client once on an error. (#3)
Jun 21, 2016
d09cf3b
Bump version
brianc Jun 21, 2016
ef8530a
Update README.md
brianc Jun 22, 2016
d21ed42
Update README.md
brianc Jun 22, 2016
cc20f8b
Clone options in Pool constructor (fixes #4) (#5)
ikokostya Jun 22, 2016
276b50d
Bump version
brianc Jun 22, 2016
7ef08fd
Remove dependency on debug (#6)
brianc Jun 23, 2016
63caf7c
Add 'connect' event to pool (#7)
brianc Jun 23, 2016
d2775fc
Add travis.yml file (#9)
brianc Jun 23, 2016
8c058a3
Update README.md
brianc Jun 23, 2016
c95036c
Update README.md
brianc Jun 23, 2016
955d6ba
Bump version
brianc Jun 23, 2016
cc40403
Update README.md
brianc Jun 23, 2016
4758ea6
Update documentation
brianc Jun 23, 2016
8b45ea1
Update README.md
brianc Jun 24, 2016
ce59164
Add callback interface to pool#query (#11)
brianc Jun 24, 2016
f47bc5f
Update documentation
brianc Jun 24, 2016
2d446d4
Bump version
brianc Jun 24, 2016
aa1f10b
Add support for pool#query without params (#12)
brianc Jun 24, 2016
baa5800
Bump version
brianc Jun 24, 2016
d316ef5
Fix example code for connect event (#14)
techieshark Jun 25, 2016
ce173f8
Fix error event doc in README (#15)
techieshark Jun 27, 2016
d653234
Add acquire event (#16)
brianc Jun 27, 2016
d1c70ec
Update documentation
brianc Jun 27, 2016
22a76dd
Bump version
brianc Jun 27, 2016
ef1b15e
Update README.md
brianc Jun 30, 2016
9ab7aff
Update code to run on >=0.10.0 (#17)
brianc Jul 3, 2016
8c42c41
Bump version
brianc Jul 3, 2016
e2d7771
Url parsing example (#19)
timhaley94 Jul 18, 2016
1d89029
Added missing new keyword to Heroku example. (#21)
riston Jul 26, 2016
51fb7db
Support function-like construction (plus test) (#23)
cody-greene Aug 5, 2016
eca2ea0
emit "connect" event only on success and avoid double callback (#22)
cody-greene Aug 5, 2016
9964208
Bump version
brianc Aug 5, 2016
afce7ed
Bump version
brianc Aug 26, 2016
f2221a4
Bump version
brianc Aug 26, 2016
b091cc0
Bug fix: Pool.query now calls cb if connect() fails (#25)
jphaas Aug 26, 2016
cf28f93
Bump version
brianc Aug 26, 2016
6a7edab
When connection fail, emit the error. (#28)
nomagick Sep 14, 2016
fbdfc15
Bump version
brianc Sep 14, 2016
fd802a3
Don’t create promises when callbacks are provided (#31)
charmander Dec 4, 2016
ab70f57
Bump version
Dec 4, 2016
2aed8bf
Add syntax highlighting to code block in README (#42)
shakeelmohamed Mar 6, 2017
0f32399
Access `Promise` through global (#39)
Apr 1, 2017
0b3d68e
Bump generic-pool dep to 2.4.3 (#35)
LewisJEllis Apr 1, 2017
5918a9e
Bump version
brianc Apr 1, 2017
c89b74b
Make a test case and fix for errors drainging the pool (#49)
bobbysmith007 Apr 13, 2017
659a448
Bump version
brianc Apr 13, 2017
52c96a4
Create LICENSE (#54)
amilajack May 29, 2017
a51fe56
Update .travis.yml
brianc Jun 2, 2017
f933852
Update .travis.yml
brianc Jun 2, 2017
959d89e
Add test for connectionString property delegation
brianc Jun 8, 2017
5061068
Fix test
brianc Jun 8, 2017
f7b1edc
Add client to error event emitter (#65)
brianc Jun 18, 2017
0c32c57
Bump version
brianc Jun 18, 2017
a0eb36d
2.0 (#67)
brianc Jul 14, 2017
139cbde
Bump version
brianc Jul 14, 2017
2421a76
Update README.md
brianc Jul 14, 2017
40f5126
Fix idle client teardown on error (#68)
brianc Jul 14, 2017
a446537
Bump version
brianc Jul 14, 2017
53584b7
Add connection & query timeout if all clients are checked out (#70)
brianc Aug 10, 2017
c3417e9
Bump version
brianc Aug 10, 2017
4e35226
Fix client remove clearing unrelated idle timers (#71)
charmander Aug 10, 2017
4d7734a
Bump version
brianc Aug 10, 2017
2f14cb1
Update CI versions (#88)
charmander Apr 6, 2018
fabf39c
Count only test query itself (#87)
charmander May 4, 2018
1871d0f
Remove timed-out checkouts from queue correctly (#86)
charmander May 4, 2018
6b2883d
terminiated -> terminated (#78)
ubershmekel May 4, 2018
277dc50
Clarifying pool connect logging (#73)
ubershmekel May 4, 2018
4b9669e
Bump version
brianc Nov 12, 2018
7ef3f4a
Fix queued checkout after a connection failure (#111)
charmander Dec 11, 2018
140f9a1
Bump version
brianc Dec 11, 2018
35a285c
Fix two timeout races (#109)
johanneswuerbach Dec 14, 2018
f917695
idleListener no longer grabs references to things it doesn't need (#83)
lykkin Jan 2, 2019
4d2ad36
Upgrade to test on node 10 (#114)
brianc Jan 2, 2019
d7f6ed0
Bump version
brianc Jan 2, 2019
f9fc232
Remove idleListener when client is in-use (#123)
johanneswuerbach Jul 25, 2019
e59a766
Bump version
brianc Jul 25, 2019
70d5c09
Remove reference to "min" config option (#126)
jbaudanza Jul 25, 2019
2d2a873
Minor cleanup - inline throwOnRelease() (#129)
nyurik Sep 4, 2019
c8c41c5
Bump lodash from 4.17.11 to 4.17.13 (#136)
dependabot[bot] Nov 19, 2019
236db38
Handle client errors in pool.query (#131)
johanneswuerbach Dec 18, 2019
8f819a0
Bump js-yaml from 3.12.0 to 3.13.1 (#137)
dependabot[bot] Dec 18, 2019
5edcfcb
Add yarn.lock file
brianc Dec 19, 2019
e302c4c
Bump version
brianc Dec 19, 2019
cb96ae2
Drop node 4.0 from test matrix
brianc Dec 19, 2019
4c27ad2
Add 'packages/pg-pool/' from commit 'cb96ae2d6e37b1414df405d80258e0e2…
brianc Dec 27, 2019
637bcf3
Cleanup things a bit
brianc Dec 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native
This repo is a monorepo which contains the core [pg](https://github.com/brianc/node-postgres/tree/master/packages/pg) module as well as a handful of related modules.

- [pg](https://github.com/brianc/node-postgres/tree/master/packages/pg)
- [pg-pool](https://github.com/brianc/node-postgres/tree/master/packages/pg-pool)
- [pg-cursor](https://github.com/brianc/node-postgres/tree/master/packages/pg-cursor)
- [pg-query-stream](https://github.com/brianc/node-postgres/tree/master/packages/pg-query-stream)

_(more to come, I'm in the process of migrating repos over here)_


## Documenation

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
},
"devDependencies": {
"lerna": "^3.19.0"
}
},
"dependencies": {}
}
1 change: 0 additions & 1 deletion packages/pg-cursor/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pg-cursor/Makefile

This file was deleted.

21 changes: 21 additions & 0 deletions packages/pg-pool/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Brian M. Carlson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading