Skip to content

Commit

Permalink
Fix agtype_build_map to allow more than 50 pairs (apache#1901)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrgemignani authored Jun 3, 2024
1 parent ef9e0bd commit d80f086
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 26 deletions.
Loading

0 comments on commit d80f086

Please sign in to comment.