Обсуждение: BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector

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

BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector

От
"Brice Maron"
Дата:
The following bug has been logged online:

Bug reference:      5189
Logged by:          Brice Maron
Email address:      bmaron@gmail.com
PostgreSQL version: 8.4.1
Operating system:   Ubunut Linux 9.10 (2.6.31-14)
Description:        Postgres Crash when trying to ts_stat a empty tsvector
Details:

Description :

When  i try to get ts_stats about a empty tsvector,
postgresql crash....

Reproduce it :

SELECT * FROM ts_stat('SELECT to_tsvector('''')');

Re: BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector

От
Andres Freund
Дата:
Hi,

On Sunday 15 November 2009 13:36:31 Brice Maron wrote:
> The following bug has been logged online:
>
> Bug reference:      5189
> Logged by:          Brice Maron
> Email address:      bmaron@gmail.com
> PostgreSQL version: 8.4.1
> Operating system:   Ubunut Linux 9.10 (2.6.31-14)
> Description:        Postgres Crash when trying to ts_stat a empty tsvector
> Details:
>
> Description :
>
> When  i try to get ts_stats about a empty tsvector,
> postgresql crash....
>
> Reproduce it :
>
> SELECT * FROM ts_stat('SELECT to_tsvector('''')');
That bug is fixed in the current CVS tree - see bug #5111. So it will appear in
the next pointrelease...


Andres