Document SQL functions' behavior of parsing the whole function at once.

Haribabu Kommi, somewhat rewritten by me
Merge branch 'master' into transition
Delete RelationGeneratesDeltas() macro references in trigger.c.

These were missed in the previous commit.