Added array support to postgres adapter

I added array support to the adapter. Querying arrays works as well.