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

From Bruce Momjian
Subject Re: [SQL] COALESCE() bug?
Date
Msg-id 199907290028.UAA24698@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] COALESCE() bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [SQL] COALESCE() bug?  (Tom Lane <tgl@sss.pgh.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 :-(

Let me know if this is a TODO item.  Sounds interesting.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: [SQL] COALESCE() bug?
Next
From: "Inform(ñËÕÔÓËÜÎÅÒÇÏ)"
Date:
Subject: Form making with psql and php.cgi