-
Notifications
You must be signed in to change notification settings - Fork 646
feat(common): Add support for DataType::Serial #8392
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
Changes from all commits
9886566
6c97f36
f7da63d
5208e2d
ff4e080
c06b9b0
09409ba
052f066
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -512,6 +512,13 @@ pub fn bind_data_type(data_type: &AstDataType) -> Result<DataType> { | |
"float8" => DataType::Float64, | ||
"timestamptz" => DataType::Timestamptz, | ||
"jsonb" => DataType::Jsonb, | ||
"serial" => { | ||
return Err(ErrorCode::NotSupported( | ||
"Column type SERIAL is not supported".into(), | ||
"Please remove the SERIAL column".into(), | ||
Comment on lines
+517
to
+518
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe clearer message that user is not supposed to create a column of system type |
||
) | ||
.into()) | ||
} | ||
_ => return Err(new_err().into()), | ||
} | ||
} | ||
|
Uh oh!
There was an error while loading. Please reload this page.