Skip to content

Rename tables and columns with names that are too long for PostgreSQL#7458

Open
labkey-adam wants to merge 5 commits intodevelopfrom
fb_long_names_to_short
Open

Rename tables and columns with names that are too long for PostgreSQL#7458
labkey-adam wants to merge 5 commits intodevelopfrom
fb_long_names_to_short

Conversation

@labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Feb 25, 2026

Rationale

Microsoft SQL Server allows table and column names that are longer than what PostgreSQL allows (128 characters vs. 63 UTF8 bytes). Long names on SQL Server can foul up the SQL Server to PostgreSQL migration process. We address this by renaming all existing SQL Server long table/column names and updating SQL Server to produce PostgreSQL-compatible names going forward.

https://github.com/LabKey/internal-issues/issues/869

@labkey-adam labkey-adam marked this pull request as draft February 25, 2026 22:35
@labkey-adam labkey-adam marked this pull request as ready for review February 27, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant