For endif, I really exagerated, "switch { defaut: " is too much, please accept my apology. Maybe just do the pop & error reporting?

Or maybe be more explicit:

  switch (current state)
  case NONE:
     error no matching if;
  case ELSE_FALSE:
  case ELSE_TRUE:
  case ...:
     pop;
     Assert(success);

--
Fabien.


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to