I have little idea what happened here, but this postgres is entirely unused. The actual database is in mysql, and always has been — the postgres does contain a mattermost database with the correct tables, but these are empty.