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

Clean up agtype_to_int8, agtype_to_int4, & agtype_to_int2 (#1354) #1372

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

jrgemignani
Copy link
Contributor

Cleaned up the code in agtype_to_int8, agtype_to_int4, and agtype_to_int2. There was some dead code after implementing PR 1339.

Additionally, modified the error messages to be a bit more helpful and modified the logic to cover a few more cases.

Added more regression tests.

@github-actions github-actions bot added the PG11 PostgreSQL11 label Nov 7, 2023
Cleaned up the code in `agtype_to_int8`, `agtype_to_int4`, and
`agtype_to_int2`. There was some dead code after implementing
PR 1339.

Additionally, modified the error messages to be a bit more helpful
and modified the logic to cover a few more cases.

Added more regression tests.
@rafsun42 rafsun42 merged commit 51ca825 into apache:PG11 Nov 8, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG11 PostgreSQL11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants