Re: [HACKERS] Duplicate node tag assignments

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] Duplicate node tag assignments
Дата
Msg-id 20161229040845.da5v5tsmlcgap762@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [HACKERS] Duplicate node tag assignments  (Amit Kapila <amit.kapila16@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Duplicate node tag assignments
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Reporting planning time with EXPLAIN