[root@s101 /var/lib/pgsql]#cat .bash_profile
./.bash_profile./.psql_history./.bash_history./.psqlrc
.bash_profile
系统变量
.psql_history
历史操作的sql语句
.bash_history
历史操作的命令行
.psqlrc
定制化脚本,数据库启动时执行,可以把一些常用脚本注册成命令