Further fix attached. I think "of character type" suggests that the
column must be of type char, which is not the case -- varchar and text
work fine too AFAICS.
--
Alvaro Herrera
http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate