Re: proposal for 8.4: PL/pgSQL - statement CASE

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal for 8.4: PL/pgSQL - statement CASE
Date: 2008-03-28 03:30:07
Message-ID: 200803280330.m2S3U7227030@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Added to TODO:

o Add CASE capability to language (already in SQL)

http://archives.postgresql.org/pgsql-hackers/2008-01/msg00696.php

---------------------------------------------------------------------------

Pavel Stehule wrote:
> Hello
>
> I found so PL/SQL support CASE statement
> http://download-east.oracle.com/docs/cd/B10500_01/appdev.920/a96624/04_struc.htm#484
>
> I propose add this statement to PL/pgSQL too.
>
> Reasons:
>
> a) it's useful construct,
> b) this statement is defined in SQL/PSM - better conformance with ANSI
>
> Implementation:
> This statement is implemented in PL/pgPSM, so implementation will be
> backported to PL/pgSQL.
>
> Any ideas?
>
> Regards
> Pavel Stehule
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2008-03-28 04:17:18 Re: pg_standby for 8.2 (with last restart point)
Previous Message Bruce Momjian 2008-03-28 02:36:34 Re: Transaction Snapshot Cloning