我使用的是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."
}发布于 2021-10-17 18:11:21
Postgres8.0.0与PostgREST 14不兼容,请参阅https://github.com/PostgREST/postgrest/issues/1857。
这个问题将在新版本中修复。现在,你可以使用包含Postgres14补丁的最新二进制文件,你可以从here(页面底部)下载它。
https://stackoverflow.com/questions/69596982
复制相似问题