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

Fixed unexpected error print by insert execute #3215

Open
wants to merge 1 commit into
base: BABEL_5_X_DEV
Choose a base branch
from

Conversation

forestkeeper
Copy link
Contributor

Insert Execute will print unexpected error msg like : 'procedure returned null record' when the procedure executed return 0 rows of records.

This commit fixed this issue that will let the insert execute finish normaly without printing out error message in such case.

Task: BABEL-5306

Check List

  • [ x ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Insert Execute will print unexpected error msg like : 'procedure
returned null record' when the procedure executed return 0 rows of
records.

This commit fixed this issue that will let the insert execute finish
normaly without printing out error message in such case.

Task: BABEL-5306
Signed-off-by: Zhibai Song <[email protected]>
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 12195420291

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 74.814%

Totals Coverage Status
Change from base Build 12194314145: 0.005%
Covered Lines: 46472
Relevant Lines: 62117

💛 - Coveralls

GO

drop procedure p_5306
GO
Copy link
Contributor

Choose a reason for hiding this comment

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

could we also include the nested test case mentioned in the JIRA, Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sure

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.

3 participants