Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: PostgreSQL.
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.