Postgres result type function. Postgres types.