Postgresql Provided user name and authenticated user name do not match

Since you're using ident authentication and connecting with a user that has the operating system account name of apache, you need to have an entry mapping tinyrss to apache, as the message is hinting at.

The following line should work for you in your pg_ident.conf:

tinyrss apache tinyrss