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

The current repository link for the pg-native module in npm points to an [archived repository](https://github.com/brianc/node-pg-native), which is now outdated. The repository has been moved into this main pg monorepo for...

Hello, thanks for a wonderful pg library! I'm trying to get binary support working, and have a minimal proof of concept here: ```typescript const pg = require("pg"); pg.types.setTypeParser(1184, "binary", (value)...

Hi - I just created https://github.com/fuxingZhang/postgres/issues/2 because for the Nth time I accidentally went to the wrong npm package. I wonder if this library should just stop referring to itself...

This is the code, ```javascript import pg from "pg"; try { const c = new pg.Client({ host: "192.168.0.155", port: 5432, user: "postgres", password: "abcd123", database: "db1234" }); await c.connect(); }...

## Minimal reproducible example See https://github.com/mantariksh/pg-bug-repro/blob/main/pg.mjs, the instructions are in the README. ## Behaviour observed When I pass a custom type parser via the `types.getTypeParser` function passed to the `Client`...

bug

I'm using `pg` in a cloudflare worker and this worker is using vite, using the cloudflare vite plugin. The new `pg-cloudflare` package on version 1.2.6 is causing this error: ```...

I have been encountering "Error: Client network socket disconnected before secure TLS connection was established" errors recently without any specific cause when connecting to PostgreSQL through RDS Proxy. These errors...

the file `node_modules/@types/pg/index.d.ts` make use of an import that does not seem to works. A valid import is `import { NoticeMessage } from 'pg-protocol/dist/messages.js'`. Maybe you changed the package.json of...

While running some tests for CockroachDB we noticed that the binary encoding flag passed during the bind operation does not follow the Postgres specifications for the result-column format. This problem...

bug

I have a query that returns a lot of data (large JSON blob). If I run this query on the database, it takes less than 1m to execute (using `EXLAIN...

waiting for more info