Postgresql Create Procedure Declare Variable In Bash