ecpg [ -v ] [ -t ] [ -I include-path ] [ -o outfile ] file1 [ file2 ] [ ... ] |
The files to be processed.
Specify an additional include path. Defaults are ., /usr/local/include (the PostgreSQL include path, which is defined at compile time), and /usr/include.
Specifies that ecpg should write all its output to outfile. If no such option is given the output is written to name.c, assuming the input file was named name.pgc. If the input file does have the expected .pgc suffix, then the output file will have .pgc appended to the input file name.
Turn off auto-transaction mode.
Print version information.
ecpg is an embedded SQL preprocessor for the C language and the PostgreSQL. It enables development of C programs with embedded SQL code.
An embedded SQL source file must be pre-processed before compilation:
ecpg [ -d ] [ -o file ] file.pgc |
You may want to redirect the preprocessor output to a log file.