Add out pg plugin (first commit)