The following bug has been logged online:
Bug reference: 1644
Logged by: tirny
Email address: tirny@mail.ru
PostgreSQL version: 7.4.7
Operating system: FreeBSD 5.3
Description: control structeres perfomance in pgsql
Details:
for example, look at this code:
any code instructions
***
IF FOUND AND TG_OP = 'UPDATE' THEN
***
END IF;
***
if not found plsql does't break this structure after IF FOUND and proceed
TG_OP = \'UPDATE\', what bring control structures to:
IF FOUND THEN
IF TG_OP = 'UPDATE' THEN
***
END IF;
END IF;
inconveniently, isn't it?