node-postgres
node-postgres copied to clipboard
PostgreSQL client for node.js.
Bumps [pg-copy-streams](https://github.com/brianc/node-pg-copy-streams) from 0.3.0 to 6.0.4. Commits 82fdd1b Bump version b185b88 Bugfix #136-improve fix when queue is empty & slice w/ 125K chunks e8d9dcb Bump version ca988e9 Bugfix #136 -...
Hi, if I use the `query` method on pg.Pool with a query object that implements `sumbit` (i.e. pg-query-stream or pg-cursor) like this: ``` import { Pool } from "pg"; import...
Hi! The [Extended Query](https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY) protocol enables drivers to submit multiple BIND messages before SYNC. One of the big benefits of using Extended Queries is that you can efficiently send a...
Server is running on port 3000. internal/crypto/keys.js:305 throw new ERR_INVALID_ARG_TYPE( ^ TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of Buffer, TypedArray, DataView, or KeyObject....
This is kind of reviving the old and forgotten #1137, but with new specifics. --- I have two tables: `users` + `products`, and I have a function that returns two...
This isn't a real fix because it delves into the connection's private state, but it does illustrate one possible solution. I don't expect this to be merged, but to start...
This is a test case that reproduces the problem described in #2642. It will of course fail, until the bug is fixed.
The `servername` option of `tls.connect` is necessary if the host for SNI is different from the host for the connection. But node-postgres ignores whatever you set for `servername` and instead...
In pgAdmin/the cli, the following query: ```sql UPDATE wq SET l_id = NULL, v_id = NULL WHERE w_id = 'cf93bc71-88c1-4bba-9e5c-fdc58d0ed14e'; ``` works fine. However, when calling the same with the...
Ran into a very puzzling bug yesterday when trying to implement database transactions, related to but not the same issue as #1892. Node version: 12.18.3 Pg version: 8.5.1 OS: Mac...