mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-25 20:47:20 +02:00
19 lines
387 B
C
19 lines
387 B
C
/*
|
|
* pglib.h
|
|
*
|
|
*/
|
|
|
|
PGresult *doquery(char *query);
|
|
PGconn *connectdb();
|
|
void disconnectdb();
|
|
int fetch(void *param,...);
|
|
int fetchwithnulls(void *param,...);
|
|
void on_error_continue();
|
|
void on_error_stop();
|
|
PGresult *get_result();
|
|
void set_result(PGresult *newres);
|
|
void unset_result(PGresult *oldres);
|
|
void reset_fetch();
|
|
|
|
#define END_OF_TUPLES (-1)
|