From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Devrim Gündüz <devrim(at)gunduz(dot)org>, Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9 |
Date: | 2017-05-16 14:49:34 |
Message-ID: | 17750.1494946174@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Magnus Hagander <magnus(at)hagander(dot)net> writes:
> On Tue, May 16, 2017 at 10:00 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>> Not sure whether we should *fix* this or not on RPM side. This may break
>> some of the existing installations, right?
> Changing that in a minor version seems like a *really* bad idea, because
> things *will* break. The way it is now it only breaks in case of a major
> version upgrade, and there is an easy enough workaround present.
Yeah, you don't have a lot of room in a minor release to make changes
that would affect this.
What Red Hat did about this, when I worked there, was to back-port the
unix_socket_directories patch from 9.3 into earlier branches, and then
set up the default server configuration to create sockets in both
/var/run/postgresql and /tmp. But even if you did that, it'd require
an upgrade of the 9.2 installation before it would play nice with a
9.6 libpq, so that might be surprising. (It would also break existing
9.2 installations that were explicitly setting unix_socket_directory,
but we can hope there are very few of those.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2017-05-16 14:51:22 | Re: storing large files in database - performance |
Previous Message | John R Pierce | 2017-05-16 14:47:01 | Re: storing large files in database - performance |