greenplum - 如何在 greenplum DB 中安装 pgAgent?
问题描述
我正在尝试安装 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?
解决方案
Greenplum 不支持 pgAgent。大多数逻辑由 Greenplum 不支持的触发器处理。如果你想使用 pgAgent,你应该使用 PostgreSQL。
推荐阅读
- python - Python - 根据另一个单元格条件选择行单元格
- javascript - 在多级对象数组上使用过滤器?
- database - Microsoft Access:如何在连续表单上添加一个按钮,该按钮将更新与该按钮在同一行中的特定字段的值?
- python - 替换数据框中的某个值
- javascript - Javascript从xml中删除节点
- c++ - 允许用户在我的类中定义数组大小而不是使用固定变量的最佳方法是什么,在这种情况下为 8
- javascript - 使用路由器调用另一个组件上的方法
- c - 是否可以在 Flex/Lex 中定义多个“名称”?
- php - 购物车内只有虚拟商品不收取手续费
- r - 为什么此数据框变量采用未明确分配给它的属性?(dplyr-R)