Skip to content

Fix sql2pgroll conversion of string DEFAULT expressions #532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

andrew-farries
Copy link
Collaborator

Column DEFAULT expressions for strings and bitstrings need to quoted, otherwise they are interpreted as identifiers.

Update the test expectations and the conversion code to quote the values.

Column `DEFAULT` expressions for strings and bitstrings need to quoted,
otherwise they are interpreted as identifiers.

Update the test expectations and the conversion code to quote the
values.
@andrew-farries andrew-farries changed the title Fix sql2pgroll conversion of string DEFAULT expressions Fix sql2pgroll conversion of string DEFAULT expressions Dec 13, 2024
@andrew-farries andrew-farries marked this pull request as ready for review December 13, 2024 15:21
@andrew-farries andrew-farries merged commit 3c1a5fa into main Dec 13, 2024
28 checks passed
@andrew-farries andrew-farries deleted the fix-default-expressions branch December 13, 2024 22:26
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.

2 participants