| From: | "Yury Don" <yura(at)vpcit(dot)ru> |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | BUG #5112: Segmentation fault on ts_stat with empty words |
| Date: | 2009-10-13 14:22:24 |
| Message-ID: | 200910131422.n9DEMOJK028385@wwwmaster.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 5112
Logged by: Yury Don
Email address: yura(at)vpcit(dot)ru
PostgreSQL version: 8.4.1
Operating system: Debian Linux (architecture amd64)
Description: Segmentation fault on ts_stat with empty words
Details:
When call ts_stat function with empty argument, backend crashes, for
example:
select word from ts_stat('select \'\'::tsvector;');
select word from ts_stat('select null::tsvector;');
This causes crash on calling ts_stat with word from stop words:
select word from ts_stat('select to_tsvector(\'me\');');
In log file there are message "server process (PID ...) was terminated by
signal 11: Segmentation fault"
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-10-13 14:23:45 | Re: BUG #5111: Segmentation fault, if to_tsvector returns empty row to ts_stat |
| Previous Message | Bruce Momjian | 2009-10-13 14:20:49 | Re: Kerberos authentication, Active Directory, and PostgreSQL |