Skip to main content

Module create_range_stmt

Module create_range_stmt 

Source
Expand description

Source-side parser for CREATE TYPE … AS RANGE (…).

Produces a UserType with kind = UserTypeKind::Range { … }. The pg_query AST for this statement is pg_query::protobuf::CreateRangeStmt with a type_name: Vec<Node> (String nodes) and a params: Vec<Node> list of DefElem entries — one per option = value clause.