[HACKERS] Assertion failure in indxpath.c

2012-04-26 Thread Heikki Linnakangas
I'm getting an assertion failure on a fresh git checkout with this query: create table foo (a int4, b text);CREATE TABLE create index i_foo on foo (b, a);CREATE INDEX select * from foo where a = 0 and (b = 'foo' or b = 'bar'); TRAP: FailedAssertion(!(const Node*)(ipath))-type) ==

Re: [HACKERS] Assertion failure in indxpath.c

2012-04-26 Thread Thom Brown
On 26 April 2012 17:32, Heikki Linnakangas heikki.linnakan...@enterprisedb.com wrote: I'm getting an assertion failure on a fresh git checkout with this query: create table foo (a int4, b text);CREATE TABLE create index i_foo on foo (b, a);CREATE INDEX select * from foo where a = 0 and (b =

Re: [HACKERS] Assertion failure in indxpath.c

2012-04-26 Thread Tom Lane
Heikki Linnakangas heikki.linnakan...@enterprisedb.com writes: I'm getting an assertion failure on a fresh git checkout with this query: create table foo (a int4, b text);CREATE TABLE create index i_foo on foo (b, a);CREATE INDEX select * from foo where a = 0 and (b = 'foo' or b = 'bar');