Re: proposal: plpgsql - Assert statement
От | Petr Jelinek |
---|---|
Тема | Re: proposal: plpgsql - Assert statement |
Дата | |
Msg-id | 546BB7EC.7000805@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: proposal: plpgsql - Assert statement (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: proposal: plpgsql - Assert statement
|
Список | pgsql-hackers |
On 18/11/14 22:11, Pavel Stehule wrote: > > 2014-11-18 21:27 GMT+01:00 Andrew Dunstan <andrew@dunslane.net > <mailto:andrew@dunslane.net>>: > > > I frequently write one-statement bodies of IF statements. To me > that's not a big deal either :-) > > > anybody did it, but it doesn't need so it is perfect :) I understand > well to Jim' feeling. > > I am looking to Ada 2005 language ... a design of RAISE WITH shows so > RAISE statement is extensible in Ada too. Sure - we can live without it, > but I don't think so we do some wrong with introduction RAISE WHEN and I > am sure, so a live with this feature can be more fun for someone, who > intensive use this pattern. > Personally, I see this as natural extension of the conditional block control which we already have for loops with CONTINUE WHEN and EXIT WHEN. This basically extends it to any block and it seems quite natural to have it for me... -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: