This fixes plpgsql regression test, no change in the core.