node-pg-native
node-pg-native copied to clipboard
SCRAM authentication requires libpq version 10 or above
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"
}
Which version of libpq (pg_config --version) do you have installed?
@charmander
pg_config --version
PostgreSQL 15.1