-- The following lines installs PL/pgSQL on the PostgreSQL server

drop   function plpgsql_call_handler ();
create function plpgsql_call_handler () returns opaque as
  '/usr/lib/pgsql/plpgsql.so' language 'C';

drop           procedural language 'PLpgSQL';
create trusted procedural language 'PLpgSQL'
  handler plpgsql_call_handler
  lancompiler 'PL/pgSQL';

--EOF
