I want to perform a table join in Postgres (9.5) where the name of the second table is a dynamic value taken from columns of the first table (a Django generic foreign key).<