Skip to content

Commit 9336b9b

Browse files
committed
Man page for ecpg.1
1 parent edd3668 commit 9336b9b

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

src/man/ecpg.1

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy