Re: [HACKERS] Case statement ready? - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Case statement ready?
Date
Msg-id 3668CCAA.C5B41E32@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Case statement ready?  (jwieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] Case statement ready?  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
>     It's  feature  and  thus must NOT be committed to the RELEASE
>     tree.  But if you send me the patches, I could add it to  the
>     v6.4.1   feature  patch  which  I'll  put  into  the  patches
>     directory on the ftp server after v6.4.1 is out.

I'm thinking that it will lead to nothing but trouble. How about waiting
for v6.5?

> > If anyone has a chance to look at the new code wrt the rewriter
>     Did it add new node types? If not, the rewrite  system  might
>     already be happy with it. Anyway - I'll take a look at it and
>     check/extend/fix for the rewrite corner.

Yes, it added new node types (CaseExpr and CaseWhen), and I added a few
lines to rewriteHandler.c to pretty much ignore them. Not sure if that
was the right thing to do.
                 - Tom


pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Case statement ready?
Next
From: "Oliver Elphick"
Date:
Subject: Sorry to nag, but... [Failures with arrays]