Re: Forgive trailing semicolons inside of config files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Forgive trailing semicolons inside of config files
Date: 2023-07-12 02:37:09
Message-ID: 2604709.1689129429@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> Looks like we could make this easier in core postgres by adding one more
> sd_notify() call, with something like
> STATUS=reload failed due to syntax error in file "/srv/dev/pgdev-dev/postgresql.conf" line 821, near end of line

Seems reasonable to investigate. The systemd camel's nose is already
inside our tent, so we might as well consider more systemd-specific
hacks to improve the user experience. But it seems like we'd need
some careful thought about just which messages to report.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2023-07-12 02:50:15 Re: unrecognized node type while displaying a Path due to dangling pointer
Previous Message Andres Freund 2023-07-12 02:28:27 Re: Forgive trailing semicolons inside of config files