Class PostgresIdentifiers
java.lang.Object
io.micronaut.data.model.query.builder.sql.postgres.PostgresIdentifiers
Normalizes mapped identifiers for PostgreSQL databases using UTF-8 and the default identifier limit.
-
Method Summary
-
Method Details
-
normalize
Resolves the catalog spelling of a mapped identifier. PostgreSQL folds only ASCII uppercase letters in unquoted UTF-8 identifiers and truncates both quoted and unquoted identifiers to 63 bytes, preserving complete characters.- Parameters:
identifier- the mapped name without SQL identifier quotesquoted- whether SQL generation quotes the identifier- Returns:
- the identifier spelling used in notification payloads
-