1

我正在使用 PostgRest 8.0.0 和 Postgres DB v14。我在选择表中的行时遇到以下错误。http://localhost:3000/table

错误:

{
    "hint": null,
    "message": "invalid configuration parameter name \"request.header.user-agent\"",
    "code": "42602",
    "details": "Custom parameter names must be two or more simple identifiers separated by dots."
}
4

1 回答 1

2

PostgREST 8.0.0 与 postgres 14 不兼容,请参阅https://github.com/PostgREST/postgrest/issues/1857

这将在新版本中修复。现在,您可以使用包含 postgres 14 修复程序的最新二进制文件。您可以在此处下载(页面底部)。

于 2021-10-17T18:11:20.897 回答