Is there a time when QueryDesc->operation is not equal toQueryDesc->parsetree->cmdType?
-- Peter Eisentraut peter_e(at)gmx(dot)net