brianc / node-pg-native

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

Only compatible with heroku-22 if Node.js >= 18 because of OpenSSL #105

Open nstuyvesant opened 2 years ago

nstuyvesant commented 2 years ago

If you are using pg-native and running on Heroku, when you upgrade to heroku-22, you must use Node.js 18+. This is because libpq for Node.js 16 statically links against OpenSSL v1 whereas it will use OpenSSL v3 with Node.js 18+.