Skip to content

Sync dbschemes - #12849

Draft
aibaars wants to merge 1 commit into
github:mainfrom
aibaars:sync-dbschemes
Draft

Sync dbschemes#12849
aibaars wants to merge 1 commit into
github:mainfrom
aibaars:sync-dbschemes

Conversation

@aibaars

@aibaars aibaars commented Apr 17, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@smowton

smowton commented Apr 18, 2023

Copy link
Copy Markdown
Contributor

What's the upgrade-script requirement on Go changes like

-  varchar(900) path : string ref,
+  string path : string ref,

Comment on lines +257 to +262
case @diagnostic.severity of
10 = @diagnostic_debug
| 20 = @diagnostic_info
| 30 = @diagnostic_warning
| 40 = @diagnostic_error
;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This simply does not hold for the trap produced by the c extractor, which produces severities in the range [0, ..., 5].

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. This snippet comes from Ruby where we use this numbering scheme. In the end it does not matter too much which numbers are used. We could just as well adjust the Ruby extractor. If we can use the same numbers across languages that would be nice.

@RasmusWL RasmusWL left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I'm leaving a 'request changes' review since the Python file is generated by an internal tool, so we need to do some adjustments to that to ensure we don't just go back to the old versions next time we run that tool 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants