Re: Int2 vector to array equality

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Int2 vector to array equality
Date: 2004-06-07 08:08:35
Message-ID: 40C42283.5050308@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:

>Andreas Pflug <pgadmin(at)pse-consulting(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-06-07 13:42:27 Re: pgxs: build infrastructure for extensions v1
Previous Message Matthew T. O'Connor 2004-06-07 05:38:47 pg_autovacuum integration proof of concept patch