Unable to compare _bpchar for similarity in WHERE-clause (MINOR A NNOYANCE)

From: Nicolai(at)ISYS(dot)DK
To: pgsql-bugs(at)postgresql(dot)org
Subject: Unable to compare _bpchar for similarity in WHERE-clause (MINOR A NNOYANCE)
Date: 2001-12-12 15:50:39
Message-ID: 6942F4EB75A6D4119AA400B0D078D6AC0E39E8@thor.isys.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

When I try to write an UPDATE where I include a WHERE-clause like:
[WHERE something='{"a","b","c"}], where something is a character[], i get
the errormessage:[Unable to identify an operator = for types '_bpchar and
'unknown' You will have to retype this query using an explicit cast]

The above statement works for text[]. Can you please provide an explanation
or if it just my query that is wrong, I would be happy.
Best regards,
Nicolai Hansen

PS! I couldn't fill out your online form

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Pimlott 2001-12-12 19:14:44 non-standard string literals
Previous Message Tom Lane 2001-12-12 02:23:30 Re: Bug #536: the sql 'except' generates erroneous result