Re: Assertion failure in indxpath.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Assertion failure in indxpath.c
Date
Msg-id 7704.1335462043@sss.pgh.pa.us
Whole thread Raw
In response to Assertion failure in indxpath.c  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@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');

> TRAP: FailedAssertion("!(((((const Node*)(ipath))->type) == 
> T_IndexPath))", File: "indxpath.c", Line: 1328)

Mph.  Looks like we need a bit more code there (and maybe some more
regression test coverage :-().  Will fix.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: xReader, double-effort (was: Temporary tables under hot standby)
Next
From: Tom Lane
Date:
Subject: Re: Request to add options to tools/git_changelog