Skip to content

Add guards for names max length #64

@exekias

Description

@exekias

names in postgres have a max length of 63 chars by default. We generate names in many places, like:

  • Version schema names
  • Temporary table/column names
  • indices
  • triggers
  • etc

We should make sure we don't generate names longer than the expected max, as that could cause issues down the line.

https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions