A server parameter determining the Unix socket group

unix_socket_group is a configuratiion parameter determining which OS-level group the Unix-domain socket(s) belong to.

unix_socket_group was added in PostgreSQL 7.1.


unix_socket_group, in combination with unix_socket_permissions, is intended to provide a basic level of access control for Unix-domain sockets.

If not explicitly set, unix_socket_group defaults to the default group of the system user under which PostgreSQL runs.

unix_socket_group is not relevant for PostgreSQL running on Windows, and any non-default setting will be ignored.

Default value

The default value for unix_socket_group is: '' (empty string).

Change history


Connection management, GUC configuration item

See also

unix_socket_permissions, unix_socket_directories