Postgresql Function Return Table With Dynamic Columns