pgstate
struct pgstate pi_ps;
const struct pgstate *ps;
ps = (const struct pgstate *)(prep + 1);
ps = (struct pgstate *)io;