Re: Cleaning up array_in()

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nikhil Benesch <nikhil.benesch@gmail.com>
Cc: Alexander Lakhin <exclusion@gmail.com>, Nathan Bossart <nathandbossart@gmail.com>, jian he <jian.universality@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2023-07-08T19:34:51Z
Lists: pgsql-hackers

Attachments

I wrote:
> That got sideswiped by ae6d06f09, so here's a trivial rebase to
> pacify the cfbot.

Sigh, this time with patch.

			regards, tom lane

Commits

  1. Don't specify number of dimensions in cases where we don't know it.

  2. Improve readability and error detection of array_in().

  3. Add trailing commas to enum definitions