generate

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL