SQL : How to return temp table result in postgresql function

Published --