Provided by: manpages-zh_1.5.2-1_all bug

NAME

       ecpg -  SQL C

SYNOPSIS

       ecpg [ option... ] file...

DESCRIPTION

       ecpg C  SQL   SQL  C  SQL  C   C

       clusterdb  C   .pgc   .c   .pgc .c   -o

         SQL  Chapter 29

OPTIONS

       clusterdb

       -c
                SQL  C  EXEC SQL TYPE

       -C mode
               mode  INFORMIX  INFORMIX_SE

       -D symbol
                C

       -i

       -I include-path
                   EXEC   SQL   INCLUDE    .   /usr/local/include   PostgreSQL
              /usr/local/pgsql/include /usr/include

       -o filename
               ecpg filename

       -t
                  EXEC SQL COMMIT

       -v

       --help

       --version

NOTES

         C  PostgreSQL  ECPG  -I  -I/usr/local/pgsql/include
         SQL  C  libecpg  -L/usr/local/pgsql/lib -lecpg
         pg_config(1)

EXAMPLES

         prog1.pgc  SQL  C

       ecpg prog1.pgc
       cc -I/usr/local/pgsql/include -c prog1.c
       cc -o prog1 prog1.o -L/usr/local/pgsql/lib -lecpg

       Postgresql  <laser@pgsqldb.org>