konga 连接postgresql 12+启动异常:error: column r.consrc does not exist

mac 环境下,konga 配合postgresql 启动,异常如下:


A hook (`orm`) failed to load!
error: column r.consrc does not exist
    at Connection.parseE (/Users/tangfeng/dev/github/konga/node_modules/sails-postgresql/node_modules/pg/lib/connection.js:539:11)
    at Connection.parseMessage (/Users/tangfeng/dev/github/konga/node_modules/sails-postgresql/node_modules/pg/lib/connection.js:366:17)
    at Socket. (/Users/tangfeng/dev/github/konga/node_modules/sails-postgresql/node_modules/pg/lib/connection.js:105:22)
    at Socket.emit (events.js:189:13)
    at Socket.EventEmitter.emit (domain.js:441:20)
    at addChunk (_stream_readable.js:284:12)

官方问题记录:

https://github.com/pantsel/konga/issues/462

https://github.com/pantsel/konga/issues/487

https://github.com/balderdashy/sails/issues/6957

说是

Postgres 12+ is not supported by the underling pg driver.


切换 9.6 活着10版本据说是可用的 ,验证中

你可能感兴趣的:(网关)