Re: Proposal - Continue stmt for PL/pgSQL - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Proposal - Continue stmt for PL/pgSQL
Date
Msg-id 42B1BB24.9030701@dunslane.net
Whole thread Raw
In response to Proposal - Continue stmt for PL/pgSQL  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Responses Re: Proposal - Continue stmt for PL/pgSQL
Re: Proposal - Continue stmt for PL/pgSQL
List pgsql-hackers

Pavel Stehule wrote:

>
>What do you think about it? It's broke PL/SQL compatibility, I know, but 
>via last discussion I have opinion so Oracle compatibility isn't main 
>objective PL/pgSQL. There is some less/bigger diferencess: SQLSTATE, 
>EXCEPTION from my last proposal, atd.
>
>
>  
>

Well, yes, but I don't think we should break compatibility 
arbitrarilly.  I guess it could be argued that this is a missing feature 
in PL/SQL and its Ada parent -  implementing GOTO just to handle this 
case seems  unnecessary.

I agree with Tom that it should only be allowed inside a loop.

cheers

andrew


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum in the backend
Next
From: Hannu Krosing
Date:
Subject: Re: Autovacuum in the backend