Re: may be a mismatch between the construct_array and construct_md_array comments

2024-09-14 Thread Alena Rybakina
On 12.09.2024 20:44, Tom Lane wrote: Alena Rybakina writes: I noticed that there is a comment that values ​​with NULL are not processed there, but in fact this function calls the construct_md_array function, which contains a comment that it can handle NULL values. Right. construct_md_array ha

Re: may be a mismatch between the construct_array and construct_md_array comments

2024-09-12 Thread Tom Lane
Alena Rybakina writes: > I noticed that there is a comment that values ​​with NULL are not > processed there, but in fact this function calls the construct_md_array > function, which > contains a comment that it can handle NULL values. Right. construct_md_array has a "bool *nulls" argument, bu

may be a mismatch between the construct_array and construct_md_array comments

2024-09-12 Thread Alena Rybakina
While working on the "POC, WIP: OR-clause support for indexes" project [0], it was suggested to use the construct_array function to form a one-dimensional array. I noticed that there is a comment that values ​​with NULL are not processed there, but in fact this function calls the construct_md_