postgres icon indicating copy to clipboard operation
postgres copied to clipboard

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare

Results 249 postgres issues
Sort by recently updated
recently updated
newest added

When we have some load with lot of sql requests, sometimes (cannot reproduce), we get some extremely strange error messages in burst then, when the load gone, no more errors...

Hi, We have a use case in which we would like to protect arbitrary text values writen by our endusers from being registred into the database from reserved characters (notably...

It seems to me we might be better if we queue up queries or begin calls and hand out connections to run those and if we have no more connections...

When running concurrent queries inside cron jobs, queries get stuck indefinitely if one of the running queries is a static query (i.e., not parameterized). I set the `max` connection to...

1. Try executing DELETE... ; UPDATE ...; SELECT ...;. 2. Get result as an array of 2, where first element is an empty array. 3. Expectation is to get array...

for some reason the driver casts a number to a string? schema: ```sql CREATE EXTENSION pgcrypto; CREATE TABLE users ( id SERIAL NOT NULL PRIMARY KEY, username TEXT NOT NULL...

With the following Cloudflare Worker, errors can be observed when deployed to production: ```ts import postgres from 'postgres'; export default { async fetch(request, env, ctx): Promise { const connection =...

I noticed that the Node.js process does not come to an end after using the listening mechanism. That's because the connection reserved for `LISTEN` statements is not closed even after...

``` const equipmentList = [{ someKey: "value1", optionalBool: null }, { someKey: "value2", optionalBool: true }, { someKey: "value3", optionalBool: false }] await sql`insert into equipment ${sql(listOfThings)}` ``` Because we...

I'm experiencing an issue with dynamic columns in queries when using postgres.js. I have a structure where functions dynamically build the query, as shown below: ```javascript function sendConsult(query) { return...