Commands
psql commands¶
| psql | |
|---|---|
| Check version of PostgreSQL | SELECT version(); |
| Show location of postgresql.conf file | SHOW config_file; |
| Show location of postgresql.conf file data directory | SHOW data_directory; |
| Show location of log directory | SHOW log_directory; |