Обсуждение: NODE

Поиск
Список
Период
Сортировка

NODE

От
Ravi Kiran
Дата:
<div dir="ltr"><span style="font-size:12.727272033691406px">hi, </span><div style="font-size:12.727272033691406px"><br
/></div><divstyle="font-size:12.727272033691406px">I am going through the hashjoin algorithm in postgres. I find a
functionExecHashjoin , which is called each time a new tuple is required by the hash join <b>Node.</b></div><div
style="font-size:12.727272033691406px"><b><br/></b></div><div style="font-size:12.727272033691406px">could someone
explainwhat exactly node mean in  postgres. </div><div style="font-size:12.727272033691406px"><br /></div><div
style="font-size:12.727272033691406px">Thanks</div></div>

Re: NODE

От
Heikki Linnakangas
Дата:
On 01/05/2015 09:28 PM, Ravi Kiran wrote:
> hi,
>
> I am going through the hashjoin algorithm in postgres. I find a function
> ExecHashjoin , which is called each time a new tuple is required by the
> hash join *Node.*
>
> could someone explain what exactly node mean in  postgres.

See src/backend/nodes/. It's a mechanism that imitates class inheritance 
in object-oriented languages. Node is the superclass that everything 
else inherits from. Every Node type supports some basic operations like 
copy, equals and serialization to/from text.

- Heikki