brianc / node-pg-native

Native (C/C++) bindings to PostgreSQL with sync and async options.
247 stars 44 forks source link

SCRAM authentication requires libpq version 10 or above #120

Open cesco69 opened 10 months ago

cesco69 commented 10 months ago

On Window 11 with Node.JS 20 and PostgreSQL 15.1:

import { native } from 'pg';
const pool = new native.Pool({ .. });
pool.connect();

Error

SCRAM authentication requires libpq version 10 or above

library version

{
  "pg": "^8.11.3",
  "pg-native": "^3.0.1"
}
charmander commented 10 months ago

Which version of libpq (pg_config --version) do you have installed?

cesco69 commented 10 months ago

@charmander

pg_config --version

PostgreSQL 15.1