Processing will stop at the first NULL entry in the keywords array. The passed arrays can be empty to use all default parameters, or can contain one or more parameter settings. The currently recognized parameter key words are listed in Section 34.1.2. Unlike PQsetdbLogin below, the parameter set can be extended without changing the function signature, so use of this function (or its nonblocking analogs PQconnectStartParams and PQconnectPoll) is preferred for new application programming. The second, values, gives the value for each key word. The first, keywords, is defined as an array of strings, each one being a key word. This function opens a new database connection using the parameters taken from two NULL-terminated arrays. PGconn *PQconnectdbParams(const char * const *keywords, Makes a new connection to the database server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |