Only remove if you are absolutely sure it won't break anything. For now I just comment out this part after PG upgrades, which I can live with.
BR,
Christian
On Fri, Dec 21, 2018 at 12:46 PM Devrim Gündüz <devrim@gunduz.org> wrote:
Hi,
On Sun, 2018-12-02 at 09:38 +0100, cwlists wrote: > Hi and thank you all! Looks good now :-)
yw!
> Devrim, you might not remember me, but I met you at Nasdaq, Stockholm, a > couple of years ago when you held a course. I asked you specifically what > PG HA solution to chose.
I definitely remember :)
> I like your packaging work! Btw, I wonder why you include /etc/profile in > the .bash_profile explicitly, because at least in my RHEL and CentOS > installations I notice it is run twice when you login as postgres. Is there > a situation when it is not called? Probably in most situations this is not > an issue since for example scripts in /etc/profile.d/ should handle > multiple calls, but I have a script there which can't know if it has been > called before for this login session.
I think there are/were some historical reasons for that. I can remove that, unless anyone objects.
Regards,
-- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR