joh*_*nny 4 postgresql amazon-web-services pgagent aws-rds
是否可以在AWS RDS中为Postgres启用/安装pgAgent(作业调度程序)?我环顾四周,在AWS文档上找不到任何内容.
pgAgent目前在rds.extensions列表中不可用,并且没有ETA何时可用.
如果你想运行调度作业,比如运行DML/DDL语句,那么我将建议使用shell脚本(调用,例如带有-c标志的'psql'来执行查询)以及OS级调度程序(例如,crontab) )在Linux EC2实例上.
您可以通过以下命令查看当前支持的扩展:
postgres=> show rds.extensions ;
btree_gin,btree_gist,chkpass,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,intagg,intarray,ip4r,isn,ltree,pgcrypto,pgrowlocks,pgstattuple,pg_buffercache,pg_prewarm,pg_stat_statements,pg_trgm,plcoffee,plls,plpe
rl,plpgsql,pltcl,plv8,postgis,postgis_tiger_geocoder,postgis_topology,postgres_fdw,sslinfo,tablefunc,test_parser,tsearch2,unaccent,uuid-ossp
Run Code Online (Sandbox Code Playgroud)