Tom Lane <t...@sss.pgh.pa.us> wrote:
 
> The lexer is *not* allowed to invoke any database operations
> (such as pg_conversion lookups)
 
I certainly hope it's not!
 
> so it cannot perform arbitrary encoding conversions.
 
I was more questioning whether we should be looking at character
encodings at all at that point, rather than suggesting conversions
between different ones.  If committing the escape sequence to a
particular encoding is unavoidable at that point, then I suppose the
code in question is about as good as it gets.
 
-Kevin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to