2014-11-17 23:58 GMT+01:00 Simon Riggs <si...@2ndquadrant.com>:

> >> Great, looks good to me, marking as ready for committer.
>
> What is wrong with using IF ?
>

It significantly increase code' length .. and decrease readability when you
intensive use a pattern IF THEN RAISE END IF - when you check every
parameter, when you check every result.

RAISE ... WHEN ... is shorter with full power of RAISE statement and
possibility for future enhancing.

Regards

Pavel


>
> --
>  Simon Riggs                   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
>

Reply via email to