Ok, if you run mastodon with any username -other- than 'mastadon' then your psql db user has to have -THAT- username in it.

This is obvious in retrospect but apparently I've been burning caffeine like nothing else today.

@munin sounds like mastodon doesn't supply a username so postgres looks it up. Perhaps a hidden setting or part of the connstring depending on the library mastodon is using.