Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
Chapter 30. libpq - C Library
Prev UpPart IV. Client InterfacesHome Next

Chapter 30. libpq - C Library

Table of Contents

30.1. Database Connection Control Functions
30.1.1. Connection Strings
30.1.2. Parameter Key Words
30.2. Connection Status Functions
30.3. Command Execution Functions
30.3.1. Main Functions
30.3.2. Retrieving Query Result Information
30.3.3. Retrieving Other Result Information
30.3.4. Escaping Strings for Inclusion in SQL Commands
30.4. Asynchronous Command Processing
30.5. Retrieving Query Results Row-By-Row
30.6. Canceling Queries in Progress
30.7. The Fast-Path Interface
30.8. Asynchronous Notification
30.9. Functions Associated with theCOPY Command
30.9.1. Functions for SendingCOPY Data
30.9.2. Functions for ReceivingCOPY Data
30.9.3. Obsolete Functions forCOPY
30.10. Control Functions
30.11. Miscellaneous Functions
30.12. Notice Processing
30.13. Event System
30.13.1. Event Types
30.13.2. Event Callback Procedure
30.13.3. Event Support Functions
30.13.4. Event Example
30.14. Environment Variables
30.15. The Password File
30.16. The Connection Service File
30.17. LDAP Lookup of Connection Parameters
30.18. SSL Support
30.18.1. Client Verification of Server Certificates
30.18.2. Client Certificates
30.18.3. Protection Provided in Different Modes
30.18.4. SSL Client File Usage
30.18.5. SSL Library Initialization
30.19. Behavior in Threaded Programs
30.20. Buildinglibpq Programs
30.21. Example Programs

libpq is theC application programmer's interface toPostgres Pro.libpq is a set of library functions that allow client programs to pass queries to thePostgres Pro backend server and to receive the results of these queries.

libpq is also the underlying engine for several otherPostgres Pro application interfaces, including those written for C++, Perl, Python, Tcl andECPG. So some aspects oflibpq's behavior will be important to you if you use one of those packages. In particular,Section 30.14,Section 30.15 andSection 30.18 describe behavior that is visible to the user of any application that useslibpq.

Some short programs are included at the end of this chapter (Section 30.21) to show how to write programs that uselibpq. There are also several complete examples oflibpq applications in the directorysrc/test/examples in the source code distribution.

Client programs that uselibpq must include the header filelibpq-fe.h and must link with thelibpq library.


Prev Home Next
Part IV. Client Interfaces Up 30.1. Database Connection Control Functions
pdfepub
Go to Postgres Pro Standard 9.6
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp