【发布时间】:2018-07-17 22:09:06
【问题描述】:
我正在尝试安装 pgAgent。我已经安装了greenplum。没有单独安装 postgres。我正在使用 pgAdmin3。我已经下载了pgagent3.4.0。 当我在 Windows 中运行这个 pgagent.sql 文件时,它会重定向到 pgAdmin3 以安装 pgAgent 模式。但我收到以下错误:-
>>NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pga_jobagent_pkey" for table "pga_jobagent"
NOTICE: CREATE TABLE will create implicit sequence "pga_jobclass_jclid_seq" for serial column "pga_jobclass.jclid"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pga_jobclass_pkey" for table "pga_jobclass"
>>ERROR: UNIQUE index must contain all columns in the distribution key of relation "pga_jobclass"
********** Error **********
>>ERROR: UNIQUE index must contain all columns in the distribution key of relation "pga_jobclass"
SQL state: 42P16
另外,我在安装 Greenplum 的 unix 服务器中没有 pgagent 扩展。
在这种类型的环境设置中如何相应地工作?
-- 一个小问题,即使安装了greenplum DB来执行这样的pgagent活动,也需要单独安装postgres??
【问题讨论】: