NoteBefore you use SQL commands such as ex, psql,
pgdump, and pgrestore, run the source
/IMSS_install_path/imss/script/pg.rc command first. For example, run
source /opt/trend/imss/script/pg.rc.
In addition, to connect to a database server running Red Hat Enterprise Linux 7, add
-h 127.0.0.1 to the command line. For example, run
/opt/trend/imss/PostgreSQL/bin/psql -h 127.0.0.1 -U sa -d
imss.
|