How to locate postgresql.conf file on server ?

Postgresql.conf file location could be change depends on postgresql version or postgresql. For finding exact location:

sudo -i -u postgres

postgres=# SHOW config_file;

config_file

——————————————

/etc/postgresql/9.3/main/postgresql.conf

(1 row)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s