From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Zhihong Yu <zyu(at)yugabyte(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Daniel Gustafsson <daniel(at)yesql(dot)se>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: A qsort template |
Date: | 2021-06-16 05:54:48 |
Message-ID: | CA+hUKGLAfouP-rUpik45Z_KPM5+oxrX_564bLfiZPX4f25MYbA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Mar 15, 2021 at 1:09 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Sun, Mar 14, 2021 at 5:03 PM Zhihong Yu <zyu(at)yugabyte(dot)com> wrote:
> > + * Remove duplicates from an array. Return the new size.
> > + */
> > +ST_SCOPE size_t
> > +ST_UNIQUE(ST_ELEMENT_TYPE *array,
> >
> > The array is supposed to be sorted, right ?
> > The comment should mention this.
>
> Good point, will update. Thanks!
Rebased. Also fixed some formatting problems and updated
typedefs.list so they don't come back.
Attachment | Content-Type | Size |
---|---|---|
more-sort-search-specializations-v2.tgz | application/x-compressed-tar | 11.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2021-06-16 06:01:57 | Re: Question about StartLogicalReplication() error path |
Previous Message | Peter Geoghegan | 2021-06-16 05:47:45 | Re: snapshot too old issues, first around wraparound and then more. |