Sql.postgres has a quote() method that just does replace. For ancient postgresql versions, that's as good as it gets. For newer versions, Postgres.postgres has a quote() method that is preferable.
How can I check for Postgres.postgres()->quote in Sql.postgres to see wether or not to use Sql.postgres()->quote? Or do I need to move the pure pike quote() method into Postgres.postgres?
Adam