add postgres in plugin