Re: Invalid byte sequence for encoding "UTF8", caused due to non wide-char-aware downcase_truncate_identifier() function on WINDOWS
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeevan Chalke <jeevan.chalke@enterprisedb.com>, pgsql-hackers@postgresql.org
Date: 2011-06-09T18:59:57Z
Lists: pgsql-hackers
On Thu, Jun 9, 2011 at 2:58 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Robert Haas <robertmhaas@gmail.com> writes: >> Right. Understood. So let's look at the cases (from git grep >> pg_strcasecmp and pg_strncasecmp): > > Also pg_toupper and pg_tolower. Right offhand, it looks like psql > *does* assume it can lower-case identifiers this way :-( Blarg. I dunno what to do about that - but surely we must have the encoding available somewhere? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company