Re: to_tsvector() chopping off trailing 's' characters
| От | Tom Lane |
|---|---|
| Тема | Re: to_tsvector() chopping off trailing 's' characters |
| Дата | |
| Msg-id | 31422.1572634457@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: to_tsvector() chopping off trailing 's' characters (Wells Oliver <wells.oliver@gmail.com>) |
| Ответы |
Re: to_tsvector() chopping off trailing 's' characters
|
| Список | pgsql-admin |
Wells Oliver <wells.oliver@gmail.com> writes:
> Sorry for the follow up, meant to add I tried this:
> select 'Thames', to_tsvector('simple', 'fat cats ate rats');
> And it throws: ERROR: invalid input syntax for type oid: "simple"
That works for me. I suspect you've got some nonstandard versions
of to_tsvector() hanging about. There should only be
regression=# \df to_tsvector
List of functions
Schema | Name | Result data type | Argument data types | Type
------------+-------------+------------------+---------------------+------
pg_catalog | to_tsvector | tsvector | json | func
pg_catalog | to_tsvector | tsvector | jsonb | func
pg_catalog | to_tsvector | tsvector | regconfig, json | func
pg_catalog | to_tsvector | tsvector | regconfig, jsonb | func
pg_catalog | to_tsvector | tsvector | regconfig, text | func
pg_catalog | to_tsvector | tsvector | text | func
(6 rows)
regards, tom lane
В списке pgsql-admin по дате отправления: