News for hackers. Stuff that matters.
Re:Securing a Postgres Database by rascul on Friday April 02, 2021 @07:38PM (#26677033)
> What is the advantage of listening on localhost compared to using a socket, with free access control?

Can install and use right away locally without figuring out where your distro puts the socket at.

Edit: Also no need to play with permissions of the socket in such a case.

Re:Securing a Postgres Database by asguy on Friday April 02, 2021 @10:44PM (#26678024)
Unless your local cluster doesn’t allocate your install on 5432 e.g. after cluster upgrade.
Re:Securing a Postgres Database by tinus_hn on Saturday April 03, 2021 @08:05AM (#26680368)
No need to play with permissions of the socket, because you ‘just’ use a socket that gives permission to everyone.