(
scx: &StatementContext,
stmt: ExecuteStatement<Aug>,
)
| 299 | } |
| 300 | |
| 301 | pub fn describe_execute( |
| 302 | scx: &StatementContext, |
| 303 | stmt: ExecuteStatement<Aug>, |
| 304 | ) -> Result<StatementDesc, PlanError> { |
| 305 | // The evaluation of the statement doesn't happen until it gets to coord. That |
| 306 | // means if the statement is now invalid due to an object having been dropped, |
| 307 | // describe is unable to notice that. This is currently an existing problem |
| 308 | // with prepared statements over pgwire as well, so we can leave this for now. |
| 309 | // See database-issues#2563. |
| 310 | Ok(plan_execute_desc(scx, stmt)?.0.clone()) |
| 311 | } |
| 312 | |
| 313 | pub fn plan_execute( |
| 314 | scx: &StatementContext, |
no test coverage detected