From 4fc212fb918ede2a086731ec66179556ef73d48e Mon Sep 17 00:00:00 2001 From: Filipe Guerreiro Date: Tue, 16 Dec 2025 10:34:44 +0900 Subject: [PATCH] Fix doc comments for PARTITION OF support. --- src/ast/ddl.rs | 2 +- src/parser/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ast/ddl.rs b/src/ast/ddl.rs index 325cbab9..a2b79e55 100644 --- a/src/ast/ddl.rs +++ b/src/ast/ddl.rs @@ -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. /// diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 216f544e..83b8d316 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -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 { if self.parse_keyword(Keyword::MINVALUE) { Ok(PartitionBoundValue::MinValue)