Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2017
    Posts
    1

    Unanswered: postgress 9.4 data folder and configuration not found

    All members

    I am unable to locate where data folder is located , application is running and working normal

    /var/lib/pgsql is empty

    Please help any tricks to figure out where the config files would have been placed including data folder

  2. #2
    Join Date
    Nov 2003
    Posts
    2,988
    Provided Answers: 23
    If you can connect (as the superuser) using psql, you can run "show data_directory" and it will show you the location of the data directory. Use "show config_file" to get the location of the configuration file (some Linux distributions put those in two different directories)
    I will not read nor answer questions where the SQL code is messy and not formatted properly using [code] tags: http://www.dbforums.com/misc.php?do=bbcode#code

    Tips for good questions:

    http://tkyte.blogspot.de/2005/06/how...questions.html
    http://wiki.postgresql.org/wiki/SlowQueryQuestions
    http://catb.org/esr/faqs/smart-questions.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •