Dave Trombley <dtrom(at)bumba(dot)net> writes:
> Tom Lane wrote:
>> What version are you using? ELSIF support didn't exist in 7.1,
>> but it seems to work for me with CVS tip.
>>
> I'm using the current release version (7.1.3), downloaded and
> compiled it today after having this problem. I'm going to try it again
> on a fresh box, in case something funcky is going on with library
> versions, etc.
No, I think you miss my point: 7.1.* doesn't have ELSIF support in
plpgsql; that's a new feature for 7.2. You must be reading the 7.2
docs and trying to apply what they say to 7.1.*. That'll often work
but not always ...
regards, tom lane