Hello
>
> Having quote_literal take its argument as text was fine whilst we were
> automatically casting arguments, but in 8.3 it seems that
> quote_literal(anyelement) makes a lot more sense than
> quote_literal(text).
>
> So, I wonder why we don't just adapt the internal function to take
> anyelement? It would save a lot of apps from being broken by the move
> to 8.3, and make the function more convenient.
>
It's good idea. I'll look on it.
It needs change of pgproc :(
Pavel