Improve function header comment for create_singleton_array().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 54affb41e79cf4bec00bb5e00eb12a1715b9e278
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-05-01T19:31:41Z
Releases: 10.0
Improve function header comment for create_singleton_array().

Mentioning the caller is neither future-proof nor an adequate substitute
for giving an API specification.  Per gripe from Neha Khatri, though
I changed the patch around some.

Discussion: https://postgr.es/m/CAFO0U+_fS5SRhzq6uPG+4fbERhoA9N2+nPrtvaC9mmeWivxbsA@mail.gmail.com

Files

PathChange+/−
src/backend/utils/adt/array_userfuncs.c modified +4 −1

Discussion