From MoodleDocs

Client Authentication Section

I've added a section called 'Client Authentication' to the bottom of the page, with instructions on adding an entry to 'pg_hba.conf'. I thought this was useful for people who aren't familiar with Postgres, as it will be an unfamiliar step to anyone with a background in MySQL.

After six years of looking after Moodle with a MySQL setup, I had to set up my first PostgreSQL server yesterday, and this is something that stumped me for a while. If these instructions can save somebody else a bit of time, they're probably a good thing.

--Alex Walker 2 (talk) 18:16, 4 August 2016 (AWST)

Thanks Alex! --Eloy Lafuente (stronk7) (talk) 01:18, 5 August 2016 (AWST)