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

Started by Brice Maronover 16 years ago2 messagesbugs
Jump to latest
#1Brice Maron
bmaron@gmail.com

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('''')');

#2Andres Freund
andres@anarazel.de
In reply to: Brice Maron (#1)
Re: BUG #5189: Postgres Crash when trying to ts_stat a empty tsvector

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