Fix doc comments for PARTITION OF support.

This commit is contained in:
Filipe Guerreiro 2025-12-16 10:34:44 +09:00
parent f126c9395c
commit 4fc212fb91
2 changed files with 3 additions and 3 deletions

View file

@ -3071,7 +3071,7 @@ impl fmt::Display for CreateTable {
}
}
/// PostgreSQL partition bound specification for PARTITION OF.
/// PostgreSQL partition bound specification for `PARTITION OF`.
///
/// Specifies partition bounds for a child partition table.
///

View file

@ -8063,7 +8063,7 @@ impl<'a> Parser<'a> {
}
}
/// Parse PostgreSQL partition bound specification for PARTITION OF.
/// Parse [ForValues] of a `PARTITION OF` clause.
///
/// Parses: `FOR VALUES partition_bound_spec | DEFAULT`
///
@ -8106,7 +8106,7 @@ impl<'a> Parser<'a> {
}
}
/// Parse a single partition bound value (MINVALUE, MAXVALUE, or expression).
/// Parse a single [PartitionBoundValue].
fn parse_partition_bound_value(&mut self) -> Result<PartitionBoundValue, ParserError> {
if self.parse_keyword(Keyword::MINVALUE) {
Ok(PartitionBoundValue::MinValue)