PostgreSQL 10 - data directory location

From: reader 1001 <007reader(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: PostgreSQL 10 - data directory location
Date: 2017-10-02 21:46:21
Message-ID: CAF0oHxPoGg+aMmXhP+zaLie_TjJxJWQoxvYoT8Hbv6goSMijcg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I am using PostgreSQL 10 rc1 in Docker.

Show commands return incorrect data directory location:

SHOW data_directory; returns /var/lib/postrgesql/data

SHOW config_file; returns /var/lib/postgresql/data/postgresql.conf

However, the data directory is completely empty.

Also when I run oid2name, it returns the following error:
"Could not connect to server: No such file or directory. Is the server
running locally and accepting connections on Unix domain socket
"/var/run/postgresql/.s.PGSQL.5432"". It may be related to the first part
of the question.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2017-10-02 21:59:47 Re: PostgreSQL 10 - data directory location
Previous Message David G. Johnston 2017-10-02 13:54:36 Re: BUG #14840: Issues and bad performance with 9.6.5