Re: BUG #5669: server process was terminated by exception 0xC0000005
От | Andrew Geery |
---|---|
Тема | Re: BUG #5669: server process was terminated by exception 0xC0000005 |
Дата | |
Msg-id | AANLkTikBA1LJmf2qq6yBJtTFJ-bDwXoqohc6TvhaxahQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: BUG #5669: server process was terminated by exception 0xC0000005 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: BUG #5669: server process was terminated by exception 0xC0000005
|
Список | pgsql-bugs |
The schema below crashes pretty reliably for me. There are three objects: an immutable function, a table called a and a gin index on table a using the immutable function. To reproduce the crash, do enough inserts into table a to kick off the auto-vacuum process; the insert statement below with the generate_series should do this. I tested this on Windows Vista using PG 9.0 and also on Linux (RHES4) using 8.4.4 (both packaged by EnterpriseDB) and it crashed both servers. Thanks Andrew create or replace function get_fts_config_name() returns regconfig as $$ select setting::regconfig from pg_settings where name =3D 'default_text_search_config'; $$ language sql immutable; CREATE TABLE a ( id serial primary key, my_text varchar(128) not null ); create index ix_a_my_text on a using gin(to_tsvector(get_fts_config_name(), my_text)); insert into a (my_text) select 'Test' from generate_series(1,10000); On Wed, Sep 22, 2010 at 11:58 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Andrew Geery <andrew.geery@gmail.com> writes: >> I think I've tracked down the problem, although I haven't been able to >> get a stack trace yet. =A0I'm afraid that it's my own stupidity, but I >> still don't understand why this crashes the entire engine. > > Me either. =A0Can you narrow it down to a self-contained test case so > others can reproduce the problem? > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0regards, tom lane >
В списке pgsql-bugs по дате отправления: