Re: [SQL] COALESCE() bug? - Mailing list pgsql-sql

From Tom Lane
Subject Re: [SQL] COALESCE() bug?
Date
Msg-id 25841.933207204@sss.pgh.pa.us
Whole thread Raw
In response to COALESCE() bug?  (Jens Glaser <jens@helena.jens.de>)
Responses Re: [SQL] COALESCE() bug?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-sql
Jens Glaser <jens@helena.jens.de> writes:
> the following SQL statement gives an error:
>   ERROR:  fix_indxqual_references: Cannot handle node type 723

Interesting.  I wouldn't have thought 6.5 would try to use an index
with an expression involving COALESCE().  Evidently it does.

I'll take a look, but I can't guarantee that the fix is simple enough
to back-patch into 6.5 ... you might have to drop the index on
pt.objectid to get this to work :-(
        regards, tom lane


pgsql-sql by date:

Previous
From: Jens Glaser
Date:
Subject: COALESCE() bug?
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] COALESCE() bug?