radha.manohar@ndsu.nodak.edu writes:
> As I was walking through the source code, I encountered certain
> terminologies like Current Memory Context and portal
> What do these represent?
See src/backend/utils/mmgr/README for a discussion of memory contexts.
Not sure portals are very well documented anywhere, but think of 'em
as the implementation of cursors.
regards, tom lane