Re: Consolidate 'unique array values' logic into a reusable function?

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2019-11-03T23:02:21Z
Lists: pgsql-hackers

Attachments

On Tue, Sep 10, 2019 at 11:43 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> Rebased due to bitrot.  Spotted one more place to use this, in
> src/backend/utils/adt/txid.c.

Rebased.  I'm planning to commit this soon.

Commits

  1. Skip memcpy(x, x) in qunique().

  2. Add reusable routine for making arrays unique.