M S <arthur_ringworn@xxxxxxxxxxx> writes: > I can't think of any programs which would be locking the files (antivirus o= > r other), but I'll have a look. Since it's a temporary file, no other Postgres process would be touching it. I strongly suspect an antivirus or similar tool is touching the file just as we try to delete it. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match