Sorry for the late reply.

On Mon, Oct 14, 2024 at 4:10 AM Tom Lane <t...@sss.pgh.pa.us> wrote:
>
> Junwang Zhao <zhjw...@gmail.com> writes:
> > It seems there is not much meaning to sort composite type,
> > so are you proposing we should error on that?
>
> It's hardly "general purpose" if it randomly refuses to
> sort certain types.  I would say it should be able to sort
> anything that ORDER BY will handle --- and that certainly
> includes the cases shown here.

Yeah, agreed.

PFA v7 with multi-array support.

>
>                         regards, tom lane



-- 
Regards
Junwang Zhao

Attachment: v7-0001-general-purpose-array_sort.patch
Description: Binary data

Reply via email to