Tom Lane wrote:
There should somewhere be a block comment explaining all the reasoning
we've so painfully gone through about why the three cases (SB, MB, UTF8)
are needed and how they must differ.
I'm working on a detailed description/rationale.
However, I have just about convinced myself that we don't need
IsFirstByte for matching "_" for UTF8, either preceded by "%" or not, as
it should always be true. Can anyone come up with a counter example? I
don't mind keeping it and using it in Assert() though.
cheers
andrew
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq