I am setting up Drupal 8.2.6 with postgres and the drupal installer fails with this error. I dont run into this issue when using MySQL though. Can someone help what might cause this to fail for Postgres + Drupal case.

Error:
The website encountered an unexpected error. Please try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_storage_config" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 133 of core\lib\Drupal\Core\Entity\EntityTypeManager.php).

Stack trace:
Drupal\Core\Entity\EntityTypeManager->getDefinition('field_storage_config') (Line: 233)
Drupal\Core\Entity\EntityTypeManager->getHandler('field_storage_config', 'storage') (Line: 169)
Drupal\Core\Entity\EntityTypeManager->getStorage('field_storage_config') (Line: 43)
Drupal\field\FieldUninstallValidator->__construct(Object, Object, Object) (Line: 276)
Drupal\Component\DependencyInjection\Container->createService(Array, 'drupal.proxy_original_service.field.uninstall_validator') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('drupal.proxy_original_service.field.uninstall_validator', 1) (Line: 494)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 329)
Drupal\Component\DependencyInjection\Container->createService(Array, 'drupal.proxy_original_service.module_installer') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('drupal.proxy_original_service.module_installer') (Line: 64)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->lazyLoadItself() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, ) (Line: 1571)
install_install_profile(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)