Re: [PATCH] Implement motd for PostgreSQL - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [PATCH] Implement motd for PostgreSQL
Date
Msg-id alpine.DEB.2.22.394.2104031741320.1277015@pseudo
Whole thread Raw
In response to Re: [PATCH] Implement motd for PostgreSQL  ("Joel Jacobson" <joel@compiler.org>)
Responses Re: [PATCH] Implement motd for PostgreSQL
List pgsql-hackers

> 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.



pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: TRUNCATE on foreign table
Next
From: Zhihong Yu
Date:
Subject: Re: CLUSTER on partitioned index