Re: Small fix for _equalValue() REPOST

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Small fix for _equalValue() REPOST
Date: 2002-03-07 15:43:25
Message-ID: 3C878A9D.36475683@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
>
> This is not the idiomatic way to do it; there is an equalstr() macro
> in equalfuncs.c that does this pushup for you. So "return
> equalstr(a->val.str, b->val.str)" would be the appropriate fix.
>

Here it is. Thanks again.

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

Attachment Content-Type Size
EQUAL.PATCH text/plain 706 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-07 16:00:22 Re: Small fix for _equalValue()
Previous Message Fernando Nasser 2002-03-07 15:35:45 Re: Small fix for _equalValue()

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-03-07 16:00:22 Re: Small fix for _equalValue()
Previous Message Fernando Nasser 2002-03-07 15:35:45 Re: Small fix for _equalValue()