node-postgres
node-postgres copied to clipboard
PostgreSQL client for node.js.
In my opinion type-casting should not be done in this level. It should be done in higher level ORM like libraries. Type casting in here is one-way. Only for result...
Per #783, #1746, and a few other TZ-related issues, it seems that node-postgres interprets JS Date objects as in the local timezone, unless `pg.defaults.parseInputDatesAsUTC` is true. This behavior is, I...
It is the same as https://github.com/brianc/node-postgres/pull/2655 but with the requested integration test added in.
For context, I want to throw an error when an attempt is made to serialize BigInt to a JSON. https://github.com/gajus/slonik/issues/515 The reason being that handling values in such a way...
I need to handle many simultaneous connections. Ubuntu Jammy Avg. ~400/connections per second, for several hour at a time. Not-distributed: both Node and the one instance of Postgres are on...
const client=new Client("connectstring"; I know client has connect and end methods to connect to or disconnect from db 1.is there any method to check whether client is in connected state...
The real issue is maybe that opensource developers don't receive enough gratification. Thanks to you, creator can build better software Have a nice day =)
Hi, Semver 4.3.2, which is used in all PG versions till 8 is marked as High vulnerability https://security.snyk.io/package/npm/semver/4.3.2
Current version of semver is 7.1.3. The package.json of pg module depends on semver version 4.3.2 . Is this intentional? A license field update was carried out in the package...
First of all, thanks for this great module. I have noticed that Set() iterators are not working as params for node-postgres. Here a working example with latest version of node-postgres...