From 69a060f64fe5339f067c547bf5333d4817ec50ac Mon Sep 17 00:00:00 2001 From: Sergey Olontsev Date: Wed, 2 Jul 2025 06:14:11 +0100 Subject: [PATCH] Remove unnecessary syntax coment Co-authored-by: Ifeanyi Ubah --- src/parser/mod.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index f44855c0..adcbc49d 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -15808,13 +15808,9 @@ impl<'a> Parser<'a> { Ok(sequence_options) } - /// ```sql - /// CREATE SERVER [ IF NOT EXISTS ] server_name [ TYPE 'server_type' ] [ VERSION 'server_version' ] - /// FOREIGN DATA WRAPPER fdw_name - /// [ OPTIONS ( option 'value' [, ... ] ) ] - /// ``` + /// Parse a `CREATE SERVER` statement. /// - /// [PostgreSQL Documentation](https://www.postgresql.org/docs/current/sql-createserver.html) + /// See [Statement::CreateServer] pub fn parse_pg_create_server(&mut self) -> Result { let ine = self.parse_keywords(&[Keyword::IF, Keyword::NOT, Keyword::EXISTS]); let name = self.parse_object_name(false)?;