=?UTF-8?B?VmlsaWFtIMSOdXJpbmE=?= <viliam(dot)durina(at)kios(dot)sk> writes:
> I have a call to setweight function in a PreparedStatement with the following sql:
> update my_table set a_text_data=setweight(to_tsvector(? :: regconfig, ?), ? :: char)
Make that ::"char" not ::char ... the quotes matter here, because char
without quotes is a keyword.
regards, tom lane