Using dollar-quoting ( partly ) in order to make the package installable on pg 9.2.