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 am using objection.js in my application. I'm encountering an issue while trying to insert an array of strings into a PostgreSQL database column. The column is defined as follows:...

Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.0.1 to 6.1.1. Release notes Sourced from eslint-plugin-promise's releases. v6.1.1 6.1.1 (2022-10-19) Bug Fixes no-multiple-resolved: false positives when the last expression in a try block is a...

dependencies

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.4 to 5.3.3. Release notes Sourced from typescript's releases. TypeScript 5.3.3 For release notes, check out the release announcement. For the complete list of fixed issues, check...

dependencies

Let say i have set `connectionTimeoutMillis` to 0 & pg-pool count is set to 20. Now i'm getting 30 concurrent request, first 20 of them already executing by using the...

How about adding a default value for `fallback_application_name` to show case the driver being used in the wild? Some possible values: * `Node.JS PostgreSQL Driver` * `Node.JS PostgreSQL Driver -...

I have a Postgres function like ``` CREATE OR REPLACE FUNCTION public.some_boolean_function() RETURNS boolean AS $BODY$ try { /* Some code prone to failure here ... */ return true; }...

feature request

When using native client, after query has error state is still running. After that connection get stuck because there is query with state 'running' This code fixes a problem: ```...

I am using pg 7.4.2 (also express 4.16.3 and node 8.11.1), and I have to use Clients, because of transactions. This is my best of coming up with a general...

question

[Documentation](https://node-postgres.com/apis/pool) states you can import the Pool class using `import { Pool } from 'pg'`. However, this is wrong. As of now, you must use `import pg from 'pg'` and...

I ran the sample code you provided and the pool.end() does not seem to work. Code at: https://node-postgres.com/features/pooling Code console.log("start async query"); const result = await pool.query("SELECT NOW()"); console.log("async query...