Help Center/ GaussDB/ Developer Guide(Distributed_V2.0-8.x)/ Application Development Guide/ ECPG-based Development/ ECPG Components
Updated on 2025-08-19 GMT+08:00
ECPG Components
- Platforms supported by ECPG
Table 1 Platforms supported by ECPG OS
Platform
EulerOS V2.0SP5
x86_64
EulerOS V2.0SP9
Arm64
Kylin V10
x86_64
Kylin V10
Arm64
- ecpg components
- ecpg: an executable binary file used to preprocess C programs with embedded SQL statements.
- libecpg: dynamic library provided by ecpg to implement connections, SQL statements, and transactions, including libecpg.so, libecpg.so.6, and libecpg.so.6.4. It is referenced by the -lecpg parameter during C program compilation and execution.
- libpgtypes: dynamic library provided by the ECPG for operating data of the numeric, date, timestamp, and interval types, including libpgtypes.so, libecpg.so.6, and libecpg.so.6.4. The library is referenced by the -lpgtypes parameter during C program compilation and execution.
- Paths for obtaining ECPG components
- ECPG binary file: $GAUSSHOME/bin
- Dynamic library on which the ECPG depends: $GAUSSHOME/lib
- Header file required by ECPG: $GAUSSHOME/include/ecpg
Parent topic: ECPG-based Development
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.