Postgres Set Variable In T Sql Declare Stored Procedure