Jonathan Blitz <jblitz@xxxxxxx> writes: > What exactly does this message mean? It means you can't write something like avg(sum(x)). regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general