Skip to content

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
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