pgsql: Improve error reporting when location specified by postgres -D d

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve error reporting when location specified by postgres -D d
Date: 2016-02-03 02:31:25
Message-ID: E1aQnE5-0003Ci-CR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve error reporting when location specified by postgres -D does not exist

Previously, the first error seen would be that postgresql.conf does not
exist. But for the case where the whole directory does not exist, give
an error message about that, together with a hint for how to create one.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ac7238dc0faccb0ad077aa9922df6e75b0b1bda3

Modified Files
--------------
src/backend/utils/misc/guc.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-02-03 04:26:09 Re: pgsql: Improve error reporting when location specified by postgres -D d
Previous Message Tom Lane 2016-02-02 20:26:51 pgsql: Remove printQueryOpt.quote field.