Re: Postgres dies when using an intarray operator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres dies when using an intarray operator
Дата
Msg-id 16936.1143940817@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres dies when using an intarray operator  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
Michael Fuhr <mike@fuhr.org> writes:
> Here's a complete test case:

> CREATE TABLE foo (a integer[]);

> INSERT INTO foo (a)
>   SELECT array[random() * 10, random() * 10, random() * 10]
>   FROM generate_series(1, 24);

> CREATE INDEX foo_a_idx ON foo USING gist (a gist__int_ops);

> SET enable_seqscan TO off;
> SELECT f1.a & f2.a FROM foo f1, foo f2 WHERE f1.a && f2.a;

This seems to bear out the concern expressed at _int_gist.c line 44:
/* XXX are we sure it's safe to scribble on the query object here? */
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Suggestion: Which Binary?
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Slony-I for circular replication