postgres - ubuntu下默认安装 postgres的启动和路径

访问量: 629

    /usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start

Ver Cluster Port Status Owner    Data directory              Log file
10  main    5432 down   postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log

启动:  service postgresql start 

订阅/RSS Feed

Subscribe