src/server/plugins/postgresql/resource.h

branch
webdav
changeset 271
fd5765c5068c
parent 270
4cfaa02055cd
child 299
f927ef81a12b
equal deleted inserted replaced
270:4cfaa02055cd 271:fd5765c5068c
79 * checks if conn is a working connection and logs an error message if not 79 * checks if conn is a working connection and logs an error message if not
80 * conn can be null (resulting in an error message) 80 * conn can be null (resulting in an error message)
81 * if conn is not null but the status is not CONNECTION_OK, 81 * if conn is not null but the status is not CONNECTION_OK,
82 * conn will be destroyed 82 * conn will be destroyed
83 */ 83 */
84 int pg_check_connection(const char *rpname, PGconn *connection); 84 int pg_check_connection(int loglevel, const char *rpname, PGconn *connection);
85 85
86 #ifdef __cplusplus 86 #ifdef __cplusplus
87 } 87 }
88 #endif 88 #endif
89 89

mercurial