Обсуждение: invalid parser name

Поиск
Список
Период
Сортировка

invalid parser name

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/textsearch-parsers.html
Description:

Page https://www.postgresql.org/docs/9.6/textsearch-parsers.html (other
versions are affected as well).

The document says "The built-in parser is named pg_catalog.default"
It should say "The built-in parser is named pg_catalog.ts_debug"

Re: invalid parser name

От
Tom Lane
Дата:
PG Doc comments form <noreply@postgresql.org> writes:
> The document says "The built-in parser is named pg_catalog.default"
> It should say "The built-in parser is named pg_catalog.ts_debug"

Really?  What I see in a stock build is

regression=# select prsname, prsnamespace::regnamespace from pg_ts_parser;
 prsname | prsnamespace 
---------+--------------
 default | pg_catalog
(1 row)

I think you are confusing the parser with something else maybe.
There is a support function named ts_debug ...

            regards, tom lane