pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: msrbugzilla@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6692: Potential Bug in equalfuncs.c
Date: Sat, 16 Jun 2012 12:31:42 -0400
Message-ID: <20918.1339864302@sss.pgh.pa.us> (raw)
In-Reply-To: <E1Serut-0008IE-Tu@wrigleys.postgresql.org>
References: <E1Serut-0008IE-Tu@wrigleys.postgresql.org>

msrbugzilla@gmail.com writes:
> I observed a code clone in the following files. The function
> "COMPARE_LOCATION_FIELD" is called in some functions and missed in other
> functions. I wonder if this is a bug. Hope it helps.

Well, COMPARE_LOCATION_FIELD() is a no-op anyway, but for
documentation's sake it should be called in the comparison function for
every node type that has a token location field (some do, some don't).
So far as I can see, it is called where it should be.  Did you observe a
place where it is not, and if so where?

			regards, tom lane



view thread (2+ messages)

Message-ID: <20918.1339864302@sss.pgh.pa.us>
Permalink:  ../20918.1339864302@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20918.1339864302@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, msrbugzilla@gmail.com
  Subject: Re: BUG #6692: Potential Bug in equalfuncs.c
  In-Reply-To: <20918.1339864302@sss.pgh.pa.us>
  References: <E1Serut-0008IE-Tu@wrigleys.postgresql.org> <20918.1339864302@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox