Re: Int2 vector to array equality - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: Int2 vector to array equality
Date
Msg-id 40C42283.5050308@pse-consulting.de
Whole thread Raw
In response to Re: Int2 vector to array equality  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:

>Andreas Pflug <pgadmin@pse-consulting.de> writes:
>
>
>>The attached patch adds an equality operator
>>    bool int2array_int2vector_eq(int2[], int2vector)
>>
>>
>
>This seems like a remarkably specialized kluge ... gotta be a
>better way ...
>
>

How? This could be coded to support any element type, but we only have
int2vector anyway.

Regards,
Andreas


pgsql-patches by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: pg_autovacuum integration proof of concept patch
Next
From: Bruce Momjian
Date:
Subject: Re: pgxs: build infrastructure for extensions v1