Skip to content
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

fix startup regressions caused by PR #1949. Instead of checking all types by OID, we can return types for well known types #2257

Merged
merged 3 commits into from Sep 21, 2021

Conversation

davecramer
Copy link
Member

Fixes Issue #2236

*/
if (pgTypeName.endsWith("[]")) {
return Types.ARRAY;
} else {
Copy link
Member

Choose a reason for hiding this comment

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

this does not need to be in an else block (the if above always returns)

Copy link
Member Author

Choose a reason for hiding this comment

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

I was going to say it reads better, but I don't care that much.

Copy link
Member

@bokken bokken left a comment

Choose a reason for hiding this comment

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

+1

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.

None yet

2 participants