在postgres提示符中,只需执行此查询:
原文链接:https://www.f2er.com/postgresql/192724.htmlSHOW data_directory;
检查Ubuntu手册:
https://help.ubuntu.com/10.04/serverguide/C/postgresql.html