Chris <dmagick(at)gmail(dot)com> writes:> I have a problem with a delete query I'm not sure how to fix.
Try increasing work_mem --- you want EXPLAIN to show that it's usinga hashed subplan.
regards, tom lane