On 12/30/2014 06:39 AM, Jim Nasby wrote: >> > > How much of this issue is caused by trying to machine-parse log files? > Is a better option to improve that case, possibly doing something like > including a field in each line that tells you the encoding for that entry?
That'd be absolutely ghastly. You couldn't just view the logs with 'less' or a text editor if your logs had mixed encodings, you'd need some kind of special PostgreSQL log viewer tool. Why would we possibly do that when we could just emit utf-8 instead? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers