systemctl status pg_dw
curl -LO https://ia64.org/~dddh/postgresql/pg_dw.rpm
yum localinstall -y pg_dw*.rpm
pip3 install --upgrade -t /usr/lib/dw/pg_dw/l psycopg2_binary
rm -vf pg_dw*.rpm
systemctl stop pg_dw
pkill python
systemctl daemon-reload
systemctl enable pg_dw
systemctl start pg_dw
rm -fr /u01/postgres/dba/pg_dw /var/lib/pgsql/dba/pg_dw
systemctl status pg_dw
