Cover display error path in CREATE TABLE OF clause
diff --git a/tests/sqlparser_postgres.rs b/tests/sqlparser_postgres.rs index 3d3817b..f85df39 100644 --- a/tests/sqlparser_postgres.rs +++ b/tests/sqlparser_postgres.rs
@@ -13399,6 +13399,12 @@ } #[test] +fn display_create_table_of_type_propagates_write_errors() { + let stmt = pg_and_generic().verified_stmt("CREATE TABLE c OF t"); + assert_display_propagates_write_errors(&stmt, &[" OF "]); +} + +#[test] fn parse_create_function_leakproof() { for (sql, leakproof) in [ (