Postgresql Declare Array Variable In R