Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id UAA85661 for ; Wed, 28 Jul 1999 20:30:13 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id UAA24698; Wed, 28 Jul 1999 20:28:19 -0400 (EDT) From: Bruce Momjian Message-Id: <199907290028.UAA24698@candle.pha.pa.us> Subject: Re: [SQL] COALESCE() bug? In-Reply-To: <25841.933207204@sss.pgh.pa.us> from Tom Lane at "Jul 28, 1999 08:13:24 pm" To: Tom Lane Date: Wed, 28 Jul 1999 20:28:18 -0400 (EDT) CC: jens@jens.de, pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Jens Glaser 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, Pennsylvania 19026