Re: [SQL] COALESCE() bug?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: jens(at)jens(dot)de, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] COALESCE() bug?
Date: 1999-07-29 00:28:18
Message-ID: 199907290028.UAA24698@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Jens Glaser <jens(at)helena(dot)jens(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jens Glaser 1999-07-29 01:29:57 COALESCE() bug?
Previous Message Tom Lane 1999-07-29 00:13:24 Re: [SQL] COALESCE() bug?