Re: PostgresNode::append_conf considered dangerous
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgreSQL.org
Date: 2017-04-23T00:56:28Z
Lists: pgsql-hackers
On 04/22/2017 04:19 PM, Tom Lane wrote: > > I think instead we should change append_conf to append a newline, and > simplify the callers that could thereby be simplified. I don't see > any callers that would be broken by that; and we do not have any config > files in which extra blank lines are problematic. > > +1. Not sure how we survived so long with it the way it is. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Make PostgresNode::append_conf append a newline automatically.
- 8a19c1a3736c 10.0 landed
- 551cc9af5781 9.6.3 landed