pgsql: Improve function header comment for create_singleton_array().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve function header comment for create_singleton_array().
Date: 2017-05-01 19:31:48
Message-ID: E1d5H2y-0003nU-Ou@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/54affb41e79cf4bec00bb5e00eb12a1715b9e278

Modified Files
--------------
src/backend/utils/adt/array_userfuncs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-05-02 02:51:35 pgsql: Don't wake up logical replication launcher unnecessarily
Previous Message Tom Lane 2017-05-01 18:53:51 pgsql: Reduce semijoins with unique inner relations to plain inner join