Re: Extend PL/pgSQL

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Laurent Laborde <kerdezixe(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Extend PL/pgSQL
Date: 2009-04-21 09:29:36
Message-ID: 162867790904210229o23274ef9xd2b9e5b32df4a167@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

2009/4/21 Laurent Laborde <kerdezixe(at)gmail(dot)com>:
> On Tue, Apr 21, 2009 at 9:09 AM, Demise Garrouste <b(dot)pijoulat(at)tele2(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vacuum 2009-04-21 09:38:06 8.4 semi-join slows down query performance (EXISTS)
Previous Message Laurent Laborde 2009-04-21 09:09:48 Re: Extend PL/pgSQL