Postgres and uppercase schema names -> no tables in snapshot

Description

Create a schema called TestUpperCase: the Liquibase snapshot generator won't find any tables.

I'm invoking Liquibase as a library, passing the schema name with its original case. However, lowercasing it does not change the result of no tables being found.

PostgresDatabase.getSchemaAndCatalogCase returns LOWER_CASE. Is this correct? Perhaps it's only correct with newer (or older) Postgres versions?

Environment

Postgres 9.4, Java 11, JDBC driver version 9.4.1209

Reporter

Alessio Stalla

Components

Affects versions

Priority

Major
Configure