Thread: how to see the generated nodetags.h

how to see the generated nodetags.h

From
Hao Zhang
Date:
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

Re: how to see the generated nodetags.h

From
jian he
Date:
On Sat, Mar 15, 2025 at 2:26 AM Hao Zhang <kennthhz@gmail.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
listof 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,