Postgresql enqueueSMS function realized