【问题标题】:How to fix the Postgrest issue while fetching records如何在获取记录时解决 Postgrest 问题
【发布时间】:2021-10-16 15:25:33
【问题描述】:

我正在使用 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."
}

【问题讨论】:

    标签: postgrest


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-21
      • 1970-01-01
      • 2020-05-19
      • 1970-01-01
      • 2017-01-10
      • 2023-02-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多