NODE

Started by Ravi Kiranabout 11 years ago2 messages
#1Ravi Kiran
ravi.kolanpaka@gmail.com

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

#2Heikki Linnakangas
hlinnakangas@vmware.com
In reply to: Ravi Kiran (#1)
Re: NODE

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