Description of create_singleton_array()

Neha Khatri <nehakhatri5@gmail.com>

From: Neha Khatri <nehakhatri5@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-05-01T13:51:02Z
Lists: pgsql-hackers

Attachments

Is it intentional to have the existing $SUBJECT.

The commit 33f43725
<https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;f=src/backend/utils/adt/varlena.c;h=33f43725fb5e133454a3e1d0a33bd7cbc75c3c59>
updated
the function text_to_array() such that it does not directly invoke
create_singleton_array(). But $SUBJECT was not updated.

If it is not intentional then is it fine to update the description like
attached.

Regards,
Neha

Commits

  1. Remove create_singleton_array(), hard-coding the case in its sole caller.

  2. Improve function header comment for create_singleton_array().

  3. Add three-parameter forms of array_to_string and string_to_array, to allow