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

I'm writing an app on `next.js` which I plan to deploy to CloudFlare Pages + Workers. I know there's CloudFlare support, but when running the local development server of next.js,...

└─┬ [email protected] └─┬ [email protected] └── [email protected] This issue is happening because of using old version of pg-types module. Do you have a plan to update pgtypes to 3.x from 2.x?...

In some circumstances, e.g. https://github.com/gajus/slonik/pull/595, https://github.com/gajus/slonik/issues/601, it can add safety to force use of the [Extended Query protocol](https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY).

This significantly speeds up eslint after first run. For me, this cuts `yarn lint` from ~6.5s to

A suggestion for a new cancellation API (based on the original request in https://github.com/brianc/node-postgres/issues/2774) This query-specific cancellation API only makes sense because the library waits for each query to complete...

If I add `query_timeout` to the example: ```js const pg = require('pg') var pool = new pg.Pool({ query_timeout: 10000, }) const QueryStream = require('pg-query-stream') const JSONStream = require('JSONStream') //pipe 1,000,000...

Hi, I'm using node-pg in a serverless environment and I often see the following error: ``` Unhandled Rejection: Error: SASL: Last message was not SASLResponse at /var/task/apps/lawy/.next/server/chunks/9840.js:1:2550 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)...

waiting for more info

I want to be able to create a tabled named "user" so I wrote this piece of code: ``` const client = await this.pool.connect(); sql= 'CREATE TABLE IF NOT EXISTS...

When querying large double precision values they appear to be rounded. e.g. the following values are all returned as '2.09999999769e+15' 2099999997689999 2099999997690000 2099999997690001 I believe that is because _extra_float_digits_ should...

bug