Re: Assertion failure in indxpath.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Assertion failure in indxpath.c
Date: 2012-04-26 17:40:43
Message-ID: 7704.1335462043@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-04-26 18:05:23 Re: Request to add options to tools/git_changelog
Previous Message Simon Riggs 2012-04-26 17:18:10 Re: xReader, double-effort (was: Temporary tables under hot standby)