Edson Ramiro <erlfilho(at)gmail(dot)com> writes:
> Does someone has some material which explain how the executor works?
Did you read
http://developer.postgresql.org/pgdocs/postgres/overview.html
and src/backend/executor/README?
Once you get through those, reading the source code is the next step.
regards, tom lane