Skip to content

PostgreSQL: support CREATE RULE #2869

Closed as not planned
Closed as not planned

Description

@putao520

Dialect: PostgreSQL

Statement

CREATE RULE r AS ON INSERT TO v DO INSTEAD INSERT INTO t VALUES (NEW.a);

Current behavior: There is no CREATE RULE production.

Expected AST: Statement::CreateRule (and DROP RULE).

0.63.0 anchor: mod.rs:5280-5341 (parse_create arm list)

pg_regress coverage: rules (regression)

Activity

  1. LucaCappelletti94 commented on Nov 9, 2026

    @LucaCappelletti94
    Contributor

    Fixed on main by #2433 and #2434. Please stop filing LLM-generated issues without checking main and the open PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions