postgres provider: improve value quoting