| 76 | }}} |
| 77 | |
| 78 | -- find out where core files are located |
| 79 | -- you may need to edit to pg_hba.conf allow external access |
| 80 | -- default location for pg_hba.conf is in folder |
| 81 | {{{ |
| 82 | SELECT name, setting FROM pg_settings where category='File Locations'; |
| 83 | }} |
| 84 | |
| 85 | Which will output something like: |
| 86 | |
| 87 | {{{ |
| 88 | |
| 89 | name | setting |
| 90 | -------------------+------------------------------------------ |
| 91 | config_file | /etc/postgresql/9.4/main/postgresql.conf |
| 92 | data_directory | /var/lib/postgresql/9.4/main |
| 93 | external_pid_file | /var/run/postgresql/9.4-main.pid |
| 94 | hba_file | /etc/postgresql/9.4/main/pg_hba.conf |
| 95 | ident_file | /etc/postgresql/9.4/main/pg_ident.conf |
| 96 | |