Re: A qsort template

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: A qsort template
Дата
Msg-id CA+hUKGLAfouP-rUpik45Z_KPM5+oxrX_564bLfiZPX4f25MYbA@mail.gmail.com
обсуждение исходный текст
Ответ на A qsort template  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: A qsort template
Re: A qsort template
Список pgsql-hackers
On Mon, Mar 15, 2021 at 1:09 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> On Sun, Mar 14, 2021 at 5:03 PM Zhihong Yu <zyu@yugabyte.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.

Вложения

В списке pgsql-hackers по дате отправления: