Add resource and provider for postgresql