Hi @roji,
As discussed here dotnet/efcore#34918, I am still having issues with the above error when using Npgsql.EntityFrameworkCore.PostgreSQL version 9. I have attempted to create a minimum unit test which reproduces the issue.
https://github.com/magoogli/test-ef-core-multi-tenant-setup
Thank you so much for your time and being willing to have a look at this!