Postgresql Create View With Declare Openly