Bernd Helmle <mailings@oopsware.de> writes:
> ... But isn't it worth to special case the
> code in grow_memtuples() (and maybe other places where sort is likely to
> use more RAM), so that we can remove this constraint on 64-Bit systems with
> many RAM built in? Or am I missing something very important?.
AFAICS this patch can increase the number of sortable tuples by at most 2X
(less one). That doesn't seem worth getting very worked up about ...
regards, tom lane