UNPKG
pg-pool
Version:
beta (3.8.1-alpha.1)
latest (3.14.0)
3.14.0
3.13.0
3.12.0
3.11.0
3.10.1
3.10.0
3.9.6
3.9.5
3.9.2
3.9.1
3.9.0
3.8.1-alpha.1
3.8.1-alpha.0
3.8.0
3.7.1
3.7.0
3.6.2
3.6.1
3.6.0
3.5.2
3.5.1
3.4.1
3.4.0
3.3.0
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.3
1.4.2
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.2.0
0.1.0
0.0.1
Connection pool for node-postgres
github.com/brianc/node-pg-pool
brianc/node-postgres
pg-pool
/
test
/
setup.js
11 lines
(9 loc)
•
194 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
crash
= (
reason
) => { process.
on
(reason,
(
err
) =>
{
console
.
error
(reason, err.
stack
) process.
exit
(-
1
) }) }
crash
(
'unhandledRejection'
)
crash
(
'uncaughtError'
)
crash
(
'warning'
)