Skip to content

Commit

Permalink
Merge pull request #861 from vitaly-t/v11
Browse files Browse the repository at this point in the history
V11
  • Loading branch information
vitaly-t authored Dec 29, 2022
2 parents 6867ae6 + 2ee0e12 commit b1d40ed
Show file tree
Hide file tree
Showing 27 changed files with 550 additions and 437 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ PostgreSQL interface for Node.js
- [Configurable Transactions]
- [Conditional Transactions]
- [Library de-initialization]
* [History](#history)

---

Expand Down Expand Up @@ -1030,15 +1029,6 @@ will be rejecting with [Error] = `Connection pool of the database object has bee

See the relevant API: [pgp.end], [Database.$pool]

### update

Version 10.11.0 added support for connection option `allowExitOnIdle`, to let process exit when pool is idle.

# History

Although this project formally maintains a [CHANGELOG], for a short list of the top-level changes,
for detailed changes between versions you should see the corresponding release notes.

<!-- Internal Menu Links -->

[Usage]:#usage
Expand Down Expand Up @@ -1131,6 +1121,6 @@ for detailed changes between versions you should see the corresponding release n
[Bluebird]:https://github.com/petkaantonov/bluebird
[SQL injection]:https://en.wikipedia.org/wiki/SQL_injection
[Symbol]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol
[idleTimeoutMillis]:https://github.com/brianc/node-postgres/blob/master/packages/pg/lib/defaults.js#L46
[connection pool]:https://github.com/brianc/node-pg-pool
[idleTimeoutMillis]:https://github.com/brianc/node-postgres/blob/master/packages/pg/lib/defaults.js
[connection pool]:https://github.com/brianc/node-postgres/tree/master/packages/pg-pool
[Error]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error
27 changes: 8 additions & 19 deletions jsdoc/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ html, body, section {
background-color: #F0F0F0;
}

.prettyprint {
pre.prettyprint:not(pre.source) {
width: auto;
border: 1px solid lightgrey;
padding: 10px;
}

p>code, .description code {
background-color: lightgray;
}

h4.name {
Expand All @@ -22,31 +28,14 @@ h4.name {
font-size: 24px;
}

section {
border-bottom: none;
padding-left: 40px;
}

div#main {
margin-left: 260px;
float: none;
/* max-width: 1650px;*/
}

code {
border-radius: 3px;
padding: 2px 4px;
background-color: grey;
color: white !important;
}

.prettyprint code {
border-radius: 7px;
padding: 10px 12px;
}

code span {
line-height: 20px;
}

nav {
Expand Down Expand Up @@ -133,4 +122,4 @@ table.params th {
table.props th {
background-color: DarkCyan;
color: White;
}
}
Loading

0 comments on commit b1d40ed

Please sign in to comment.