Re: how to see the generated nodetags.h

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Hao Zhang <kennthhz(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: how to see the generated nodetags.h
Date: 2025-03-15 06:03:41
Message-ID: CACJufxF+RctVBRg49UhJ66n_=ukCC1Y9io-0xTVHjCcotwC8hQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 15, 2025 at 2:26 AM Hao Zhang <kennthhz(at)gmail(dot)com> wrote:
>
> Hello Hackers
>
> It seems nodetags.h is generated by gen_node_support.pl. Where and how can I see this generated header to get a full list of all possible node tags? Thx
>
>
> typedef enum NodeTag
> {
> T_Invalid = 0,
>
> #include "nodes/nodetags.h"
> } No

it's within your build directory.

I am using meson.
go to your build directory then
rg T_List

shows
src/include/nodes/nodetags.h
18: T_List = 1,
240: T_ListenStmt = 223,

tmp_install/home/jian/postgres/regression8/include/server/nodes/nodetags.h
18: T_List = 1,
240: T_ListenStmt = 223,

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2025-03-15 06:04:57 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
Previous Message Peter Smith 2025-03-15 05:52:17 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.