node-postgres
node-postgres copied to clipboard
PostgreSQL client for node.js.
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...
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...
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; }...
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...
[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...