Convert from pg2 to gproc.