We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pg-pool now throws an error when calling done === client.release multiple times
Count columns correctly even when the result set is empty
Updated FAQ (markdown)
Add new Q: Calling done() multiple times
Add bottom nav
According to the linked bugs #129 and #82, node-postgres now supports JS arrays natively, so update the FAQ. Someone who actually uses node-postgres (I'm just a PostgreSQL dev and Stack Overflow helper) should update the main node-postgres docs, add a link to the relevant docs from this FAQ, etc.
Added alternate answer to #4, and made a minor correction to the original answer.
Corrected #3, since this is definitely possible in current builds.
Replaced link to nonexistent lib/types/textParsers.js with link to node-pg-types.
new question
`content-length` header should be byte length, not character length.
Added question 16 in the hopes that maintainers will answer it.
Point 7 source code examples lack from second parameter of `query` method; the values to insert, which replace `$1` and `$2` SQL query parameters
Changed style of #14 to be more in line with other questions
Added info about installation on Windows.
the textParsers.js link was broken
answer #12 and #13
Why are there two bindings?
Capitalized FAQ #1 and #2, removed space between word and question mark.
Made a more verbose example for WHERE/IN queries.
Added a note about WHERE foo IN (...) queries with links to #82 and #129