Re: [HACKERS] Duplicate node tag assignments - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Duplicate node tag assignments
Date
Msg-id 20161229040845.da5v5tsmlcgap762@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Duplicate node tag assignments  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
Amit Kapila wrote:
> On Wed, Dec 28, 2016 at 10:03 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> > Or we could just abandon the manually-assigned breaks in the list
> > altogether, and let NodeTags run from 1 to whatever.  This would
> > slightly complicate debugging, in that the numeric values of node
> > tags would change more than they used to, but on the whole that does
> > not sound like a large problem.
> 
> Yeah.  In most cases, during debugging I use the tag for typecasting
> the node to see the values of the particular node type.

I do likewise.  The actual numeric values don't matter to me one bit.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Duplicate node tag assignments
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Reporting planning time with EXPLAIN