1996-09-20 00:19:05 +04:00
|
|
|
/*
|
|
|
|
* pglib.h
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
PGresult *doquery(char *query);
|
|
|
|
PGconn *connectdb();
|
|
|
|
void disconnectdb();
|
|
|
|
int fetch(void *param, ...);
|
1996-09-26 04:48:48 +04:00
|
|
|
int fetchwithnulls(void *param, ...);
|
1996-09-20 00:19:05 +04:00
|
|
|
void on_error_continue();
|
|
|
|
void on_error_stop();
|
|
|
|
|
|
|
|
#define END_OF_TUPLES (-1)
|