
PL/pgSQL, PL/Perl, plPHP, PL/Python, PL/Ruby, PL/sh, i PL/Tcl, PL/Java, PL/R
lub moze ma jakis swoj inny

CREATE FUNCTION plphp_max (integer, integer) RETURNS integer AS ' if ($args[0] > $args[1]){ return $args[0]; } else return $args[1]; ' LANGUAGE 'plphp' WITH (isStrict);