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 agtype_build_map to allow more than 50 pairs (#1901) #1904

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

jrgemignani
Copy link
Contributor

Fixed agtype_build_map to allow objects to be created with more than 50 pairs. This is a PostgreSQL limitation on the number of function arguments.

To achieve this, the agtype_add, aka concat operator, was used to concat objects together when the limit was reached for the number of arguments.

Added regression tests.

Fixed agtype_build_map to allow objects to be created with more than
50 pairs. This is a PostgreSQL limitation on the number of function
arguments.

To achieve this, the agtype_add, aka concat operator, was used to
concat objects together when the limit was reached for the number
of arguments.

Added regression tests.
@github-actions github-actions bot added the PG15 PostgreSQL15 label Jun 4, 2024
@rafsun42 rafsun42 merged commit 424a950 into apache:PG15 Jun 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG15 PostgreSQL15
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants