We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd8951 commit 68fb761Copy full SHA for 68fb761
tests/sqlparser_postgres.rs
@@ -2733,6 +2733,15 @@ fn parse_create_brin() {
2733
}
2734
2735
2736
+
2737
+#[test]
2738
+fn parse_create_inherits() {
2739
+ let sql = "CREATE TABLE child_table (child_column INT) INHERITS (parent_table);";
2740
+ match pg().verified_stmt(sql) {
2741
+ _ => unreachable!(),
2742
+ }
2743
+}
2744
2745
#[test]
2746
fn parse_create_index_concurrently() {
2747
let sql = "CREATE INDEX CONCURRENTLY IF NOT EXISTS my_index ON my_table(col1,col2)";
0 commit comments