Re: pgsql: Improve error reporting when location specified by postgres -D d - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Improve error reporting when location specified by postgres -D d
Date
Msg-id 1486.1454473569@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Improve error reporting when location specified by postgres -D d  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pgsql: Improve error reporting when location specified by postgres -D d
List pgsql-committers
Peter Eisentraut <peter_e@gmx.net> writes:
> +   if (configdir && stat(configdir, &stat_buf) != 0)
> +   {
> +       write_stderr("%s: could not access \"%s\": %s\n",
> +                    progname,
> +                    configdir,
> +                    strerror(errno));

Perhaps "could not access directory ..."?  This doesn't seem to follow the
message style guideline about specifying what sort of object you're
complaining about.

            regards, tom lane


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add support for systemd service notifications
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Add support for systemd service notifications