CREATE OR REPLACE FUNCTION iif(boolean, anyelement, anyelement) RETURNS anyelement
     AS 'MODULE_PATHNAME', 'iif'
     LANGUAGE C IMMUTABLE;