FW: [HACKERS] decode() function for PostgreSQL

Поиск
Список
Период
Сортировка
От Archana Bharatee
Тема FW: [HACKERS] decode() function for PostgreSQL
Дата
Msg-id NEBBJFFGCKCJGMOBKAODKEALCJAA.archana@ecomscience.com
обсуждение исходный текст
Ответы Re: FW: [HACKERS] decode() function for PostgreSQL  (Peter Eisentraut <peter_e@gmx.net>)
Re: FW: [HACKERS] decode() function for PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Dear Bruce,

I am not familiar with the process of applying patches. I am attaching the
source-code for the decode function we have developed for PostgreSQL. Can
you please do the needful, or redirect me to the appropriate person.

Thanks a lot,

warm regards,
Archana Bharatee

-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Monday, February 25, 2002 10:33 PM
To: Archana Bharatee
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] decode()


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@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

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] WAL Performance Improvements
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: FW: [HACKERS] decode() function for PostgreSQL