Thread: Execute command type

Execute command type

From
Peter Eisentraut
Date:
Is there a time when QueryDesc->operation is not equal to
QueryDesc->parsetree->cmdType?

-- 
Peter Eisentraut   peter_e@gmx.net



Re: Execute command type

From
Tom Lane
Date:
Peter Eisentraut <peter_e@gmx.net> writes:
> Is there a time when QueryDesc->operation is not equal to
> QueryDesc->parsetree->cmdType?

I don't believe so.  Not sure why the code bothers to store the
redundant field.
        regards, tom lane