Revert "Revert "postgresql""

This reverts commit 63a9d271032efa86bb9daad39cead639d412e0de.