Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2024-07-19 05:17:56 +0000
committerMichael Paquier2024-07-19 05:17:56 +0000
commit3a137ab7e575b683c410c46312799a4d88e2b2f2 (patch)
tree3d3113e55c2d4347a27c3cf902c8c18775a4573b /src/backend/commands/constraint.c
parent5c571a34d0e99bb7df7aedd26b90ff490cd6d9ee (diff)
Add more test coverage for jsonpath "$.*" with arrays
There was no coverage for the code path to unwrap an array before applying ".*" to it, so add tests to provide more coverage for both objects and arrays. This shows, for example, that no results are returned for an array of scalars, and what results are returned when the array contains an object. A few more scenarios are covered with the strict/lax modes and the operator "@?". Author: David Wheeler Reported-by: David G. Johnston, Stepan Neretin Discussion: https://postgr.es/m/A95346F9-6147-46E0-809E-532A485D71D6@justatheory.com
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions