Some aggregate expressions (_max, _min etc.) return NULL when the relation has no rows. This is not reflected in their type, which can cause runtime errors.
Reported by Gregory Wright on 2004-05-10.
Log in to post a comment.