Re: [PATCH] Implement motd for PostgreSQL
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Joel Jacobson <joel@compiler.org>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>,
Michael Paquier <michael@paquier.xyz>
Date: 2021-04-03T15:50:16Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Disallow newlines in parameter values to be set in ALTER SYSTEM.
- 99f3b5613bd1 9.6.0 cited
> Perhaps the configuration-file parser has been fixed since to support > embedded newlines? If so, then maybe it would actually be an idea to > support newlines by escaping them? Dunno. If such a feature gets considered, I'm not sure I'd like to actually edit pg configuration file to change the message. The actual source looks pretty straightforward. I'm wondering whether pg style would suggest to write motd != NULL instead of just motd. I'm wondering whether it should be possible to designate (1) a file the content of which would be shown, or (2) a command, the output of which would be shown [ok, there might be security implications on this one]. -- Fabien.