Re: invalid UTF-8 via pl/perl
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Hannu Krosing <hannu@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2010-01-03T20:17:11Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > There are two issues with this patch. First, how far if at all should it > be backpatched? All the way, or 8.3, where we tightened the encoding > rules, or not at all? Forgot to mention --- I'm not in favor of backpatching. First because tightening encoding verification has been a process over multiple releases; it's not a bug fix in the normal sense of the word, and might break things that people had been doing without trouble. Second because I think we'll have to change pg_verifymbstr's API, and that's not something to back-patch if we can avoid it. regards, tom lane