Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> There are some other disadvantages for making a function call. You
> couldn't use that kind of literal in any other place where the parser
> calls for a string constant: role names, tablespace locations,
> passwords, copy delimiters, enum values, function body, file names.
Good point. I'm okay with supporting the feature only when database
encoding is UTF8.
regards, tom lane