Tom Lane writes:
> --sort-mem works, period. Read the code.
>
> That part of the docs is in error, evidently.
No it's not, unfortunately. BSD versions of getopt, including the one we
ship as replacement, have a bug that considers any argument that starts
with '--' to be equivalent with '--' (which means end of options).
--
Peter Eisentraut peter_e@gmx.net