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

This makes it clear who is maintaining which package. This will also allow commit privileges for a specific package instead of the entire repo.

There are a few issues: 1. pg-connection-string `ConnectionOptions` has `database: string | null | undefined` vs `PoolConfig` has `database?: string;` (which effectively means `database: string | undefined`). 1. pg-connection-string `ConnectionOptions`...

https://github.com/brianc/node-postgres/commit/f305419676afe79a91dc7863289f7f97ac6db3d5 made it possible to import and use `pg-connection-string` on the browser; however, the parser does not work correctly. On the browser, `parse("postgres://user:pass@host:123/base")` is currently returning `{user: '', password: '',...

Hello, When I use the pg libary and I use 10 database connection with pool, do I get any problems or what is the disadvantage ? exp: ``` const db1...

Hey @brianc @charmander , **Problem Statement:** I have an application which is currently using the default configuration of node-postgres pool to connect to postgres. I have noticed that whenever we...

Hello there! I am stuck for a while on it so... Here is my code : ``` import pg from "pg"; const { Pool } = pg; export const pool...

Couple of commits here to clean up some CI issues. * First removes the old Travis-CI config that hasn't been used in ages. * Second bumps a bunch of eslint...

I've setup my application's pool with an `on('error')` hook to log errors that happen outside queries. However, this hook is _not_ always active between queries. If I acquire a connection...

The return type from `pool.query` (or `client.query`) is `QueryResult`, which is incorrect when multiple statements are executed. In that case the type is `QueryResult[]`. Example showing the problem: ```ts import...

Hey! Thanks for your work on a great project. I went looking for docs on how to manage postgresql's peer authentication. It's mentioned in https://github.com/brianc/node-postgres/issues/613 which provides a solution. Unfortunately...