Obtaining a Driver Package, a Dependency Library, and Header Files
Obtain the library and header files of libpq from GaussDB-Kernel_Database version number_OS information_64bit_Libpq.tar.gz in the driver package. The required header file is stored in the include folder, and the lib folder contains the required libpq library file. Programs that use libpq must include the header file libpq-fe.h and must connect to the libpq library.

In addition to libpq-fe.h, the include folder contains the header files postgres_ext.h, gs_thread.h, and gs_threadlocal.h by default. These three header files are the dependency files of libpq-fe.h.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.