node-postgres
node-postgres copied to clipboard
PostgreSQL client for node.js.
I have an Azure Postgres instance, and I am trying to connect to it but getting Self signed certificate in certificate chain error. I am able to connect using `psql`...
I am seeing an issue where the query doesn't timeout and the client connection stays indefinitely even when the server goes down. I check out a client using pool.connect() and...
pool when created, hangs forever and never attempts to reconnect to server, when the network service on the server rnning postgres is turned off. On client, create a pool, once...
Hi, Instead of retrieving the first available client from the pool, would it be possible to first check if there is a free client that already has cached prepared statements?...
It would be nice to be able to send an embedding vector directly to PostgreSQL without having to serialize it into a string first. ``` // Example with Transformers.js library...
Is there any way to keep the connection alive forever (with re-connections maybe) in order to receive notifications from postgres ?
Current modern practice for the Node ecosystem is to inherit from `Error` and use the `.code` property to distinguish between errors. node-postgres does not. Like many today, we experienced an...
This is a reopen of https://github.com/brianc/node-postgres/pull/2706, hopefully completing it soon.
Related: https://github.com/brianc/node-postgres/pull/353 Back in 2013 this was a good idea, as BIGINTs would lose precision when converted to JavaScript numbers (which are doubles). Today we have native [BigInt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) support in...
I hope this is in scope. It would be nice™ if node-postgres would throw an error if you try to use a promise as a parameter in a query. I...