I have a password for a remote PostgreSQL server that I cannot change. This password contains hashtags (#). From searching, I know that this can be a problem.I can connect to the server from the ...
I'm having a hard time with an app that has some spikes in connections. I think if acquireTimeoutMillis was working these would be queued pre-database. Trying to set it in testing doesn't seem to be ...
I have a problem about inserting datas to my table with "MERGE INTO" method.I am using a procedure to insert datas, and my datas come from array fields.My Table:CREATE TABLE IF NOT ...
I'm building backend with Express and TypeScript. DB is Postgres, client is node-postgres.In DB I have table user_collection. This table has column collection of type JSONB. Collection column ...
I have a question which may sound dumb but I have never done this before and have some questions that I cant seem to find the answer of.My project is in Next.js 14 with Kysely and node-postgres. I am ...
I'm using node-postgres (pg) and its pg-cursor extension. I noticed when reusing the same connection between multiple cursors, it locks due to what I would assume that a single connection is only able ...
I might be close, but not quite there yet as the below throws Error: Invalid response from route /api: handler should return a Response object, probably I do return just an object and not a Response?...
I'm trying to make connection with PostgreSQL and export it. When I import the pool into other file and run a query it throws the error: syntax error at end of inputpostgre.jsconst config = require(&...
In a Typescript project, declaring a table using Drizzle on postgres-node as follows:const contractsTable = pgTable("contracts", { id: serial("id").primaryKey(), ...
I have a multi tenant node application. I'm encountering an issue when trying to connect to local PostgreSQL database using node-postgres. Whenever the program attempt to execute a function (...
the problem may reside either in the /login route or in the local strategy but a post request to /login makes postman send infinitely and no results come back. i've searched a lot but there doesn't ...
I am trying to do some complex queries in my bird database to get all the birds back but I want to be able to use queries in the url to get back by diet and to sort accordingly and order appropriately....
In summary I have a bird database and I am trying to do a PATCH request on seeded data I have added using the node-postgres Pool object to create a database connection with a pool of clients. I am ...
I am trying to an insert query of bird family data below ( using function insertIntoB_familiestbl) related to bird families into bird families table. But I am getting an error relating to the ...