primitive pg and pg-store support