In some cases like for example in here #2641456: getQualifiedMapTable + Postgres you want to have all the information about the connection and schema and there is no way to get this info unless you duplicate logic of method in subject in custom code which is obviously not good.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RoSk0 created an issue. See original summary.

RoSk0’s picture

Title: Make DatabaseSchema::getPrefixInfo() so schema detection logic could be reused » Make DatabaseSchema::getPrefixInfo() public so schema detection logic could be reused
Related issues: +#1060476: Multiple issues when PostgreSQL is used with non-public schema
RoSk0’s picture

First attempt.