Make more pgsql8 functions static