Documentation
¶
Overview ¶
Command generate emits every generated file in the module from the pinned inputs (srcdata/, internal/reference/kwlist.h, ast/pg_query.pb.go). It is the PostgreSQL-upgrade story: advance the pin, re-vendor, re-run.
Modes (default: -aliases -keywords, the pure-Go ones):
-proto regenerate ast/pg_query.pb.go from srcdata/pg_query.proto
(requires protoc and protoc-gen-go on PATH)
-aliases regenerate aliases.go (root package aliases into ast/)
-keywords regenerate internal/lexer/keywords.go from kwlist.h
Click to show internal directories.
Click to hide internal directories.