{
  "language": "postgresql",
  "from": "17",
  "to": "18",
  "added": [
    "opt_column_and_period_list",
    "opt_virtual_or_stored",
    "opt_without_overlaps",
    "optionalPeriodName",
    "returning_option",
    "returning_option_kind",
    "returning_options",
    "returning_with_clause"
  ],
  "removed": [
    "in_expr",
    "opt_recheck"
  ],
  "changed": [
    {
      "name": "ColConstraintElem",
      "added": [
        [
          "NOT",
          "NULL_P",
          "opt_no_inherit"
        ],
        [
          "GENERATED",
          "generated_when",
          "AS",
          "'('",
          "a_expr",
          "')'",
          "opt_virtual_or_stored"
        ]
      ],
      "removed": [
        [
          "NOT",
          "NULL_P"
        ],
        [
          "GENERATED",
          "generated_when",
          "AS",
          "'('",
          "a_expr",
          "')'",
          "STORED"
        ]
      ]
    },
    {
      "name": "ConstraintAttr",
      "added": [
        [
          "ENFORCED"
        ],
        [
          "NOT",
          "ENFORCED"
        ]
      ],
      "removed": []
    },
    {
      "name": "ConstraintAttributeElem",
      "added": [
        [
          "NOT",
          "ENFORCED"
        ],
        [
          "ENFORCED"
        ]
      ],
      "removed": []
    },
    {
      "name": "ConstraintElem",
      "added": [
        [
          "NOT",
          "NULL_P",
          "ColId",
          "ConstraintAttributeSpec"
        ],
        [
          "UNIQUE",
          "opt_unique_null_treatment",
          "'('",
          "columnList",
          "opt_without_overlaps",
          "')'",
          "opt_c_include",
          "opt_definition",
          "OptConsTableSpace",
          "ConstraintAttributeSpec"
        ],
        [
          "PRIMARY",
          "KEY",
          "'('",
          "columnList",
          "opt_without_overlaps",
          "')'",
          "opt_c_include",
          "opt_definition",
          "OptConsTableSpace",
          "ConstraintAttributeSpec"
        ],
        [
          "FOREIGN",
          "KEY",
          "'('",
          "columnList",
          "optionalPeriodName",
          "')'",
          "REFERENCES",
          "qualified_name",
          "opt_column_and_period_list",
          "key_match",
          "key_actions",
          "ConstraintAttributeSpec"
        ]
      ],
      "removed": [
        [
          "UNIQUE",
          "opt_unique_null_treatment",
          "'('",
          "columnList",
          "')'",
          "opt_c_include",
          "opt_definition",
          "OptConsTableSpace",
          "ConstraintAttributeSpec"
        ],
        [
          "PRIMARY",
          "KEY",
          "'('",
          "columnList",
          "')'",
          "opt_c_include",
          "opt_definition",
          "OptConsTableSpace",
          "ConstraintAttributeSpec"
        ],
        [
          "FOREIGN",
          "KEY",
          "'('",
          "columnList",
          "')'",
          "REFERENCES",
          "qualified_name",
          "opt_column_list",
          "key_match",
          "key_actions",
          "ConstraintAttributeSpec"
        ]
      ]
    },
    {
      "name": "a_expr",
      "added": [
        [
          "a_expr",
          "IN_P",
          "select_with_parens"
        ],
        [
          "a_expr",
          "IN_P",
          "'('",
          "expr_list",
          "')'"
        ],
        [
          "a_expr",
          "NOT_LA",
          "IN_P",
          "select_with_parens"
        ],
        [
          "a_expr",
          "NOT_LA",
          "IN_P",
          "'('",
          "expr_list",
          "')'"
        ]
      ],
      "removed": [
        [
          "a_expr",
          "IN_P",
          "in_expr"
        ],
        [
          "a_expr",
          "NOT_LA",
          "IN_P",
          "in_expr"
        ]
      ]
    },
    {
      "name": "alter_table_cmd",
      "added": [
        [
          "ALTER",
          "CONSTRAINT",
          "name",
          "INHERIT"
        ]
      ],
      "removed": []
    },
    {
      "name": "bare_label_keyword",
      "added": [
        [
          "ENFORCED"
        ],
        [
          "OBJECTS_P"
        ],
        [
          "PERIOD"
        ],
        [
          "VIRTUAL"
        ]
      ],
      "removed": [
        [
          "RECHECK"
        ]
      ]
    },
    {
      "name": "defacl_privilege_target",
      "added": [
        [
          "LARGE_P",
          "OBJECTS_P"
        ]
      ],
      "removed": []
    },
    {
      "name": "opclass_item",
      "added": [
        [
          "OPERATOR",
          "Iconst",
          "any_operator",
          "opclass_purpose"
        ],
        [
          "OPERATOR",
          "Iconst",
          "operator_with_argtypes",
          "opclass_purpose"
        ]
      ],
      "removed": [
        [
          "OPERATOR",
          "Iconst",
          "any_operator",
          "opclass_purpose",
          "opt_recheck"
        ],
        [
          "OPERATOR",
          "Iconst",
          "operator_with_argtypes",
          "opclass_purpose",
          "opt_recheck"
        ]
      ]
    },
    {
      "name": "returning_clause",
      "added": [
        [
          "RETURNING",
          "returning_with_clause",
          "target_list"
        ]
      ],
      "removed": [
        [
          "RETURNING",
          "target_list"
        ]
      ]
    },
    {
      "name": "unreserved_keyword",
      "added": [
        [
          "ENFORCED"
        ],
        [
          "OBJECTS_P"
        ],
        [
          "PERIOD"
        ],
        [
          "VIRTUAL"
        ]
      ],
      "removed": [
        [
          "RECHECK"
        ]
      ]
    },
    {
      "name": "vacuum_relation",
      "added": [
        [
          "relation_expr",
          "opt_name_list"
        ]
      ],
      "removed": [
        [
          "qualified_name",
          "opt_name_list"
        ]
      ]
    }
  ],
  "reordered": [],
  "terminals": {
    "added": [
      "ENFORCED",
      "OBJECTS_P",
      "PERIOD",
      "VIRTUAL"
    ],
    "removed": [
      "RECHECK"
    ]
  },
  "renames": []
}
