single-quoted according to Unix shell conventions. (So the processing would be a bit different from what it is for the same notation in SQL contexts.)
SELECT '$HOME/lamentable application name dir/bin/myprog' as myprog \gset`:"myprog" arg1 arg2`
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных