系统是deepin15,安装postgresql12
这是我/home/postgres/.bash_profile
我是按照这篇文章进行配置的
https://www.cnblogs.com/acker-ploy/p/11978953.html
但是
root@chen-PC:/# service postgresql start
Failed to start postgresql.service: Unit postgresql.service not found.
然后进入postgres用户
root@chen-PC:/# su - postgres
$ psql
-su: 1: psql: not found
$
/usr/local/postgresql/bin
clusterdb logfile pg_ctl pg_restore postmaster
createdb pg_archivecleanup pg_dump pg_rewind psql
createuser pg_basebackup pg_dumpall pg_test_fsync reindexdb
dropdb pgbench pg_isready pg_test_timing vacuumdb
dropuser pg_checksums pg_receivewal pg_upgrade
ecpg pg_config pg_recvlogical pg_waldump
initdb pg_controldata pg_resetwal postgres
问题出在哪里啊?两天了还没有搞清楚,网上也没有相同的情况!!!求求各位大佬