Skip to content

Commit

Permalink
Fix agtype_build_map to allow more than 50 pairs (#1901) (#1904)
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 committed Jun 4, 2024
1 parent cc38e09 commit 424a950
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 26 deletions.
Loading

0 comments on commit 424a950

Please sign in to comment.