Subject: Re: [bug#47736] [PATCH] services: postgresql: Change service default socket directory.

From: Leo Famulari <[email-masked]>
Date: Mon, 12 Apr 2021 19:15:30 -0400

On Mon, Apr 12, 2021 at 09:41:41PM +0100, Christopher Baines wrote:
> Fixes <https://bugs.gnu.org/46737>.
> 
> PostgreSQL running with a different socket directory to the default one in the
> package itself breaks some services, this commit restores the previous
> behaviour where PostgreSQL by default will run with a socket directory that
> matches the default used by PostgreSQL packaged for Guix.
> 
> Switching to a different default value can happen, but only alongside changing
> the PostgreSQL package.
> 
> * gnu/services/databases.scm (<postgresql-config-file>)[socket-directory]:
> Change default to #false.
> * doc/guix.texi (Database Services): Update documentation, and specify a
> different value for disabling connections via sockets.
> * gnu/tests/guix.scm (%guix-data-service-os): Use default PostgreSQL
> behaviour.
> * gnu/tests/monitoring.scm (%zabbix-os): Likewise.
> * gnu/tests/web.scm (patchwork-os): Likewise.

Thanks, I hastily pushed as c311147bd16aa0e5746d9cbf31502f5fd61e470c in
order to squeeze this in before the "string freeze", which began today.