"Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com> writes:
> Is it possible to have something like Sort (disk|top-N|memory) instead
> of Sort?
That would be sane if the decision were fixed at plan time, but it isn't.
What do you think of the add-a-line approach?
regards, tom lane