PG Bug reporting form <noreply@postgresql.org> writes:
> select to_tsquery('lowercase', plainto_tsquery('lowercase', 'test')::text ||
> ':*');
> the above query runs successfully in Windows but got an error in Fedora 38:
> ERROR: syntax error in tsquery: ":*"
Works for me, after substituting a text search configuration name that
I had installed:
=# select to_tsquery('english', plainto_tsquery('english', 'test')::text ||
':*');
to_tsquery
------------
'test':*
(1 row)
I think you mistyped something in the Fedora case. The error message
is pretty clear that what to_tsquery() got was only ':*'.
regards, tom lane