Re: Extend PL/pgSQL - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Extend PL/pgSQL
Date
Msg-id 162867790904210229o23274ef9xd2b9e5b32df4a167@mail.gmail.com
Whole thread Raw
In response to Re: Extend PL/pgSQL  (Laurent Laborde <kerdezixe@gmail.com>)
List pgsql-hackers
Hello

2009/4/21 Laurent Laborde <kerdezixe@gmail.com>:
> On Tue, Apr 21, 2009 at 9:09 AM, Demise Garrouste <b.pijoulat@tele2.fr> wrote:
>> Hello,
>>
>> I am in workplacement in a company and I have to make a migration from one
>> database to PostGreSQL. Nevertheless, the migration is not possible, because
>> I don't have the GOTO instruction. I know this is a bad practice, however, I
>> wanted to know if it's possible to implement this feature. If it's possible,
>> I wonder if a developer could add this feature.
>

GOTO isn't possible - not with current plpgsql interpret.

workaround is simple, but ugly - add an cycle and CONTINUE or EXIT statements.

regards
Pavel Stehule

> Sure ! Here it is : http://tinyurl.com/anel
>
>> Thank you in advance, send me an email if you have an answer.
>
> yw :)
>
>
> --
> F4FQM
> Kerunix Flan
> Laurent Laborde
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>


pgsql-hackers by date:

Previous
From: Laurent Laborde
Date:
Subject: Re: Extend PL/pgSQL
Next
From: vacuum@quantentunnel.de
Date:
Subject: 8.4 semi-join slows down query performance (EXISTS)