ecpg
Embedded SQL preprocessor for C programs. More information: https://www.postgresql.org/docs/current/app-ecpg.html.
- Preprocess a specific file:
ecpg
- Preprocess from
stdinand output tostdout:
ecpg -o - -
- Preprocess from
stdinand write to a file:
cat input.pgc | ecpg -o output.c -
- Preprocess and specify an output file:
ecpg -o
- Preprocess a header file (
.pghextension):
ecpg
- Preprocess in a specific compatibility mode:
ecpg -C
- Preprocess with autocommit enabled:
ecpg -t
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
