Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group