From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Archana Bharatee <archana(at)ecomscience(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: decode() |
Date: | 2002-02-25 17:02:55 |
Message-ID: | 200202251702.g1PH2tA16029@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Archana Bharatee wrote:
> We have developed a 'C' function to provide Oracle decode() functionality.
> we have developed a C function DECODE which accepts an SQL Query and
> replaces occurence of decode with case-when-then-else-end and returns the
> query. There is no limitation of fixed number of parameters. This needs to
> be added to PostgreSQL library. How do we do this?
Send the patch to the patches list. A context diff against against 7.2
or CVS is just fine.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-02-25 17:24:20 | Re: missing foreign key fails silently using COPY |
Previous Message | Bruce Momjian | 2002-02-25 16:54:52 | Re: patch queue |