Re: pl/pgsql oddity

From: Richard_D_Levine(at)raytheon(dot)com
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: Geoffrey <esoteric(at)3times25(dot)net>, Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org
Subject: Re: pl/pgsql oddity
Date: 2004-12-17 12:47:49
Message-ID: OFBCD7B000.22246BC7-ON05256F6D.004629D3@ftw.us.ray.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I blew the parenthesis around the conditional expression also. Hence the
*old* comment.
(Embedded image moved to file: pic14771.jpg)


Bruno Wolff III
<bruno(at)wolff(dot)to> To: Richard_D_Levine(at)raytheon(dot)com
cc: Michael Fuhr <mike(at)fuhr(dot)org>, Geoffrey <esoteric(at)3times25(dot)net>,
12/16/2004 06:13 pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org
PM Subject: Re: pl/pgsql oddity

On Thu, Dec 16, 2004 at 15:34:03 -0500,
Richard_D_Levine(at)raytheon(dot)com wrote:
> I prefer the FORTRAN66 construct
>
> IF <condition> <label1> <label2> <label3>

My memory is that those labels were separated by commas.

>
> where it jumps to label1 if <condition> is negative, label2 if zero, and
> label3 if positive. No else ifs about it.
>
> I hope you realize I'm as kidding as I am obviously too old.

As long as you are dredging up old Fortran; in my opinion computed
gotos were harder to follow than the ones based on the sign of an
expression.

Attachment Content-Type Size
image/jpeg 13.2 KB

Browse pgsql-general by date

  From Date Subject
Next Message Riccardo G. Facchini 2004-12-17 12:48:35 Re: Check if table exists
Previous Message Richard Huxton 2004-12-17 12:38:44 Re: Check if table exists