Re: pl/pgsql oddity - Mailing list pgsql-general

From Clodoaldo Pinto
Subject Re: pl/pgsql oddity
Date
Msg-id 20041216201442.53220.qmail@web40907.mail.yahoo.com
Whole thread Raw
In response to Re: pl/pgsql oddity  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pl/pgsql oddity
List pgsql-general
 --- Tom Lane <tgl@sss.pgh.pa.us> escreveu:
> Neil Conway <neilc@samurai.com> writes:
> > Tom also suggested just adding 'elseif' as an alternative for 'elsif'.
> > That sounds like it would be worth doing.
>
> I think we should go ahead and do that for 8.0.  I'm getting tired of
> reading reports that stem from this mistake (I think this is the third
> one in the past month ...).  I can't see any real downside to accepting
> both spellings, can you?
>
>             regards, tom lane

I made the exact same mistake and it took me a good chunk of energy to figure
it out. I didn't report it to the list. When one look at the manual it is very
easy to read elseif in instead of elsif.

Regards,
Clodoaldo Pinto





_______________________________________________________
Yahoo! Mail - Agora com 250MB de espaço gratuito. Abra
uma conta agora! http://br.info.mail.yahoo.com/

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Scheduler in Postgres
Next
From: Martijn van Oosterhout
Date:
Subject: Re: pl/pgsql oddity