Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> writes:> The attached patch should fix this, I believe - both for %b and %B.
Yeah, I'd just come to the same conclusion. You're welcome todo the commits, of course.
regards, tom lane