Re: may be a mismatch between the construct_array and construct_md_array comments - Mailing list pgsql-hackers

From Tom Lane
Subject Re: may be a mismatch between the construct_array and construct_md_array comments
Date
Msg-id 4039567.1726163051@sss.pgh.pa.us
Whole thread Raw
In response to may be a mismatch between the construct_array and construct_md_array comments  (Alena Rybakina <a.rybakina@postgrespro.ru>)
Responses Re: may be a mismatch between the construct_array and construct_md_array comments
List pgsql-hackers
Alena Rybakina <a.rybakina@postgrespro.ru> 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, but
construct_array doesn't --- it passes NULL for that to
construct_md_array, which will therefore assume there are no null
array elements.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: [PATCH] Extend ALTER OPERATOR to support adding commutator, negator, hashes, and merges
Next
From: Jeff Davis
Date:
Subject: Re: tiny step toward threading: reduce dependence on setlocale()