Help Center/
GaussDB/
Developer Guide(Centralized_3.x)/
Application Development Guide/
ECPG-based Development/
ecpg Components
Updated on 2024-05-07 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
- 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 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 ecpg depends: $GAUSSHOME/lib
- Header file required by ecpg: $GAUSSHOME/include/ecpg
Parent topic: ECPG-based Development
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot