Thanks for the link Pavel, that makes perfect sense now.
Teddy
From: David G. Johnston <david.g.johnston@gmail.com> Sent: Thursday, February 16, 2017 12:42:36 PM To: Teddy Schmitz Cc: pgsql-general@postgresql.org Subject: [GENERAL] Problems with Greatest