Skip to content

Commit 4fc212f

Browse files
committed
Fix doc comments for PARTITION OF support.
1 parent f126c93 commit 4fc212f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ast/ddl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ impl fmt::Display for CreateTable {
30713071
}
30723072
}
30733073

3074-
/// PostgreSQL partition bound specification for PARTITION OF.
3074+
/// PostgreSQL partition bound specification for `PARTITION OF`.
30753075
///
30763076
/// Specifies partition bounds for a child partition table.
30773077
///

src/parser/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8063,7 +8063,7 @@ impl<'a> Parser<'a> {
80638063
}
80648064
}
80658065

8066-
/// Parse PostgreSQL partition bound specification for PARTITION OF.
8066+
/// Parse [ForValues] of a `PARTITION OF` clause.
80678067
///
80688068
/// Parses: `FOR VALUES partition_bound_spec | DEFAULT`
80698069
///
@@ -8106,7 +8106,7 @@ impl<'a> Parser<'a> {
81068106
}
81078107
}
81088108

8109-
/// Parse a single partition bound value (MINVALUE, MAXVALUE, or expression).
8109+
/// Parse a single [PartitionBoundValue].
81108110
fn parse_partition_bound_value(&mut self) -> Result<PartitionBoundValue, ParserError> {
81118111
if self.parse_keyword(Keyword::MINVALUE) {
81128112
Ok(PartitionBoundValue::MinValue)

0 commit comments

Comments
 (0)