Holger Friedrich wrote:
> So how do I craft a query that actually does use lots of memory?
You increase the parameter "work_mem".
You can do that globally in postgresql.conf or with SET for one session
or with SET LOCAL for one transaction.
Yours,
Laurenz Albe