Postgresql String To Array Get First Element In A Set Of Instructions