Debug detection of native/not native pg