Re: proposal for 8.4: PL/pgSQL - statement CASE - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: proposal for 8.4: PL/pgSQL - statement CASE
Date
Msg-id 200803280330.m2S3U7227030@momjian.us
Whole thread Raw
In response to proposal for 8.4: PL/pgSQL - statement CASE  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Transaction Snapshot Cloning
Next
From: Greg Smith
Date:
Subject: Re: pg_standby for 8.2 (with last restart point)