unrecognized configuration parameter “autocommit” in PostgreSQL NodeJS

后端 未结 1 1148
迷失自我
迷失自我 2021-01-20 05:21

{\"message\":\"Err on translation create, for key blah blah blah \",\"name\":\"SequelizeDatabaseError\",\"stack\":\"SequelizeDatabaseError: unrecognized c

1条回答
  •  心在旅途
    2021-01-20 05:48

    The configuration parameter autocommit has been disabled since version 7.4, released in 2003.

    Up to PostgreSQL version 9.4 the parameter was still present, but had no effect.

    From PostgreSQL 9.5 on (released in January 2016), the parameter has been removed, and trying to set it will cause an error message.

    Try to update your client software to a more recent version.

    0 讨论(0)
提交回复
热议问题