权限被拒绝将参数“client_min_messages”设置为“通知”

时间:2015-11-22 13:28:04

标签: amazon-web-services amazon-redshift pgadmin

我在aws上启动并运行了一个redshift集群,并通过配置VPC安全组授权了入站查询

然后我尝试使用pgAdmin连接到redshift并收到以下错误

An error has occurred:
ERROR:  permission denied to set parameter "client_min_messages" to "notice"

An error has occurred:
Column not found in pgSet: "datlastsysoid"

1 个答案:

答案 0 :(得分:3)

PgAdmin主要是Postgres客户端,不是Redshift支持的客户端。由于不兼容,打开连接总是尝试设置client_min_messages,但是Redshift拒绝接受这样的设置。这会导致您遇到错误。

Redshift仅支持必须在集群上设置的以下参数-

dev=# show all;
           name            |       setting        
---------------------------+----------------------
 analyze_threshold_percent | 10
 datestyle                 | ISO, MDY
 extra_float_digits        | 0
 query_group               | default
 search_path               | $user, public, admin
 statement_timeout         | 0
 wlm_query_slot_count      | 1
(7 rows)

您可以使用其他客户端,例如psqlSQLWorkbench/J,因为pgAdmin存在偏差并且不支持与redshift的连接。您也可以参考this,在Github上报告问题。