On Fri, 17 Aug 2001, Pascal Bourguignon wrote:
>
> I've got the following problem with a plpgsql function. I believe it
> denotes a bug with plpgsql.
The problem is that you're trying to compare a space padded char
with a non-space padded text so it's not finding the row. I believe
either defining the columns as text or using rtrim(col) in the where
clauses will solve your problem.