node-pg-native
node-pg-native copied to clipboard
Native (C/C++) bindings to PostgreSQL with sync and async options.
HI, I have a c7g EC2 running Linux. Postgres 15, Node 19. I keep getting this error when trying to install `pg-native`: ``` node_modules/.pnpm/[email protected]/node_modules/libpq: Running install script, failed in 3.5s...
* ci: don't fail fast * ci: drop node 8 * ci: add node 18 & 20 to build matrix * ci: run on push & all PRs
On Window 11 with Node.JS 20 and PostgreSQL 15.1: ```ts import { native } from 'pg'; const pool = new native.Pool({ .. }); pool.connect(); ``` Error ``` SCRAM authentication requires...
Since we've updated to node 17, using `pg-native` in combination with `pg` results in a segfault of the node process.
C:\Users\Username>npm install pg-native > [email protected] install C:\Users\Username\node_modules\libpq > node-gyp rebuild C:\Users\Username\node_modules\libpq>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) gyp ERR! configure error gyp ERR!...
## Detail - `[email protected]` depends on "pg-types": "^1.12.1" - `[email protected]` depends on ["postgres-bytea": "~1.0.0"](https://github.com/brianc/node-pg-types/blob/593e56776c7e2ccbe0443a69d22aed2903a1e5dc/package.json#L32), and newest is [4.0.1](https://www.npmjs.com/package/pg-types/v/4.0.1) - `[email protected]` use [`new Buffer(input.substr(2), 'hex')`](https://github.com/bendrucker/postgres-bytea/blob/6a1c2665b40e7a6548d7102a8b0fb4905a1a90b7/index.js#L6), and newest is [3.0.0](https://www.npmjs.com/package/postgres-bytea/v/3.0.0) - `Buffer()...
Bumps [debug](https://github.com/debug-js/debug) to 2.6.9 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `debug` from 2.6.0 to 2.6.9 Release notes Sourced from debug's releases. 2.6.9 Patches...
Bumps [ms](https://github.com/vercel/ms) to 2.0.0 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `ms` from 0.7.2 to 2.0.0 Release notes Sourced from ms's releases. 2.0.0 Major...
Hello, i wonder if i can use `pg-native` if I run both PostgreSQL and Node.js application on separate docker containers? ``` Container A: postgres:latest Container B: node:latest ``` I use...
This is to align the protocol with [this main-driver change](https://github.com/brianc/node-postgres/pull/2861). The two PR-s should be merged at the same time.