Tom Lane wrote:
[...]
> it seems that quote_literal() has a good case,
> and you could also make an argument for allowing a non-text second
> argument for set_config()
>
>
[...]
> Thoughts?
>
>
>
I think there is just enough of a case for quote_literal(), although in
my experience the vast majority of places where it is used in fact
should be replaced by using placeholders. I find that I need to use it
very rarely indeed.
The case for set_config() is less compelling.
cheers
andrew