[HACKERS] NODE

2015-01-05 Thread Ravi Kiran
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.

Thanks


Re: [HACKERS] NODE

2015-01-05 Thread 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



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers