File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ .\" This is -*-nroff-*-
2
+ .\" XXX standard disclaimer belongs here....
3
+ .TH ECPG UNIX 2/11/98 PostgreSQL PostgreSQL
4
+ .SH NAME
5
+ ecpg - embedded SQL preprocessor for C
6
+ .SH SYNOPSIS
7
+ .BR ecpg
8
+ [\c
9
+ .BR " -v"
10
+ ]
11
+ [\c
12
+ .BR " -d"
13
+ ]
14
+ [\c
15
+ .BR " -o"
16
+ outfile
17
+ ]
18
+ file1
19
+ [file2]
20
+ [...]
21
+ .in -5n
22
+ .SH DESCRIPTION
23
+ ecpg an embedded SQL in C package for PostgreSQL. It enables you to
24
+ develop C programs with embedded SQL code.
25
+ .PP
26
+ .IR " ecpg"
27
+ understands the following command-line options:
28
+ .TP
29
+ .BR " -v"
30
+ Print version information.
31
+ .TP
32
+ .BR " -d"
33
+ Turn on debugging.
34
+ .TP
35
+ .BR " -o" " outfile"
36
+ Specifies that
37
+ .IR " ecpg"
38
+ should write all its output to
39
+ .IR " outfile" . If no such option is given the output is written to foo.c
40
+ if the input file was name foo.pgc or to foo.bar.c if the input file was
41
+ foo.bar.
42
+ .TP
43
+ .BR " file1, file2, ..."
44
+ The files to be processed.
45
+ .SH "BUGS"
46
+ This version of ecpg is not able to handle structures inside the sql declare
47
+ blocks.
48
+ .TP
49
+ The return code is alway -1 in case of an error. You cannot see which error
50
+ occured by examining the return code.
51
+ .SH "RETURN VALUE"
52
+ .IR ecpg
53
+ returns 0 to the shell on successful completion, -1 for errors,
54
+ .SH "SEE ALSO"
55
+ cc(1).
56
+
You can’t perform that action at this time.
0 commit comments