node-postgres
node-postgres copied to clipboard
PostgreSQL client for node.js.
Recently I have updated the pg from `7.4.3` to `8.7.1` and the node version from `10` to `14`, after the degradation i am getting strange errors without much stack trace(ref...
It would be great to have support for injecting query comments into every query automatically, e.g. via config. The use case is that these comments can then be used for...
Old behavior: if you do something like ```js try { await (new Pool()).query(null); } catch (error) { console.log(error); } ``` you get an uncaught exception. If you have a server...
Similar to the dynamic lookup of a password, this PR makes it possible to support a lookup of the user as well. This is needed for AWS RDS rotation where...
I've hit the following error coming from node-postgres 7.9.0 (latest) which crashes the node process ``` TypeError: Cannot read property 'handleCommandComplete' of null File "/usr/src/app/node_modules/pg/lib/client.js", line 294, col 22, in...
This fixes occurrences where the IP changes for a native connection, e.g. with read replicas. "If host is specified without hostaddr, a host name lookup occurs." https://www.postgresql.org/docs/8.1/libpq.html#LIBPQ-CONNECT You do not...
This PR allows using a function for the password in the native client (as in the JS client).
Hi - thanks for a great library! I have a question regarding the `pg-cursor` API. In the example on using a cursor from start to finish, this is shown in...
I'm quite stuck. I develop a TypeScript/Postgres library called [Zapatos](https://github.com/jawj/zapatos), and I have a [pull request](https://github.com/jawj/zapatos/issues/107) for a nice feature that lets users pass either a `Pool` or a connected...
I know this is not really an issue, but I do not know where else to ask. If you are in the terminal you can do `\l` to view all...