node-postgres icon indicating copy to clipboard operation
node-postgres copied to clipboard

PostgreSQL client for node.js.

Results 357 node-postgres issues
Sort by recently updated
recently updated
newest added

Fixes: > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

![Screenshot_2024-02-19_09-28-37](https://github.com/brianc/node-postgres/assets/191496/34b25cc5-a609-4b54-ac78-041eabc50bf6) From latest build (https://github.com/brianc/node-postgres/actions/runs/7852909425/job/21431903558): ``` TypeError: prettier.resolveConfig.sync is not a function Occurred while linting /home/runner/work/node-postgres/node-postgres/docs/components/alert.tsx:1 at Program (/home/runner/work/node-postgres/node-postgres/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js:174:40) at /home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:254:26)...

refs https://github.com/Ethan-Arrowood/socket/pull/17 @petebacondarwin @brianc — publishing `pg-cloudflare` as a separate package seems to be really helpful to people. Ex: https://github.com/sidorares/node-mysql2/pull/2289/files#diff-e56fabfb5e90fd8f6265cfbe84f3701a85261d884e198bf61de34958cee4864aR12 Added some docs to clarify usage, and cross link to...

We have a Postgres 14 server that requires TLS to connect. we are able to connect to it using `psql`. Example: ``` PGPASSWORD=$(gcloud sql generate-login-token) psql \ "sslmode=verify-ca \ sslrootcert=/Users/xxx/keyfiles/dev-01.pem...

Hi, I came across a strange behavior recently. Env setup: Linux- Ubuntu 18. Docker - 19.06 Node and Postgres running inside docker using docker-compose. When I manually restarted(or shut down)...

Hello, I'm currently developing a PC application using your pg-node library. I'm trying to find documentation on keepAlive and keepAliveInitialDelayMillis but can't find anything that explains what these parameters do....

Can you provide an example for connecting to GCP CloudSQL using unix socket?

question

Hi, Thanks for this library. We are using Cloudflare Workers and trying to connect to a database that requires SSL. The application crashes with "Error: Connection terminated unexpectedly". Is there...

Node: 16.14.2 PG: 8.11.3 The `connectionString` config is [parsed by `URL` in node](https://github.com/brianc/node-postgres/blob/2a8efbee09a284be12748ed3962bc9b816965e36/packages/pg-connection-string/index.js#L25-L31). When that library has an invalid string, it will throw an error with `error.input` being the value...

Hi, I'm trying to find a way to improve our monitoring around the connection pool use, specifically around pending queries. We're using Prometheus to monitor our services. Prometheus works by...