// SPDX-License-Identifier: BUSL-1.1
//! ParsedStatement — the result of parsing SQL in the extended query protocol.
//!
//! Stored in pgwire's `StoredStatement<ParsedStatement>` after a Parse message.
//! Contains the original SQL text and pre-inferred parameter/result types.
use FieldInfo;
/// A parsed SQL statement for the extended query protocol.
///
/// Created by `NodeDbQueryParser::parse_sql` during a Parse message.
/// The pgwire crate stores this as `StoredStatement<ParsedStatement>`.
/// On Bind + Execute, we re-plan the SQL with bound parameter values.